mysqli_fetch_array() expects parameter 1 to be mysqli_result, boolean it is OK on the local side, but such an error occurs after ubuntu my local side and ubuntu both install php7 . The difference is that it is possible that I am 7.2.2 ubuntu is 7, but ...
want to check the hypothesis. I want the counterparty to access my database via php curl what can I do this? Is there a template you can refer to? this is due to the fact that the host is in parallel with mysql and all the mysql data are managed cent...
$con = new mysqli($servername, $username, $password, $mysqldb); $fineLog = $con->query( "SELECT * FROM `error_report` " ); while ($row = mysqli_fetch_array($fineLog)) { echo $row[ errno ]; } I don t know why this error occurred my...
my mysql database has two pieces of data when I print_r, it looks like this: [{"errno":"1","errstr":"2","errfile":"3","errline":"4"},{"errno":"12",...
the api I am talking to now is a request from others. is to use curl to catch the opposite party http. I give it to the opposite party json , and then the opposite party gives back to me json, and then I show it (using mongodb, nodejs) ). it s just t...
$selectTip = $pdo->query("SELECT * FROM `tips_rate` WHERE `tip_id` = ".$row[ id ]." " ); $selecttotal = mysqli_num_rows($selectTip); $rate = $pdo->query("SELEC...