I am trying to execute my PHP code, which calls two MySQL queries via mysqli, and get the error \"Commands out of sync; you can\'t run this command now\".
Here is th
to solve this problem you have to store result data before use it
$numRecords->execute(); $numRecords->store_result();
that's all