[Solved] php + Highcharts.js + convert from mysql to mysqli causes error [duplicate]
If you are going to convert your code to mysqli_*, then it should be in a prepared statement manner. Lets re-establish your MySQL connection in db.inc.php: <?php $conn = new mysqli(“localhost”, “Datenbank-Username”, “Datenbank-Passwort”, “Datenbank-Name”); /* CHECK CONNECTION */ if (mysqli_connect_errno()) { printf(“Connect failed: %s\n”, mysqli_connect_error()); exit(); } /* CHANGE CHARACTER SET TO utf8 */ if … Read more