I have the problem, and I have no idea right now how Can I resolve this. The same INSERT INTO work on mySQL MariaDB 10.1, but it’s not work on mySQL MariaDB 10.5.
The ‚id’ table have a auto increment in mysql structure and there will be insert $nextid value. As I wrote above the same query work on MariaDB 10.1, but on 10.5 not.
Here is query :
$sql = mysqli_query($connect, "INSERT INTO `". $cfg_mysqlprefix . "archive` (`id`,`filename`,`userid`,`link`,`filehosting`,`filesize`,`completedtime`,`downloadtime`,`charged`) VALUES($nextid,'". $filenames[$i] ."',". $userids[$i] .",'". $links[$i] ."','". $filehostings[$i] ."',". $filesizes[$i] .",". $times[$i] .",". $downloadtimes[$i] .",". $charges[$i] .")");
$nextid++;
Any idea?