I have written a php script with prepared statements. on my local xampp server (PHP Version 5.5.15, MYSLQI mysqlnd 5.0.11-dev) It works perfectly. Now changing the Server (PHP Version 5.3.26, MYSQLI 5.1.36) it does not work anymore. It starts executing the script but stops directly before the first get_result() order.
//read DB entries
$sql_topic = "SELECT * FROM topic ORDER BY ID DESC";
$var = "naventry";
//prepared statement
$query = $mysqli->prepare($sql_topic);
$query -> execute();
//-------------------
//topic loop
if ($query = $query->get_result()) {
while($topic = $query->fetch_assoc()) {
There's no information in the error logs and I don't have a clue where to search for the solution.
I hope for your help!! pplopp