I\'m quite new to prepared statements and am not sure I am doing this right.
Here is what I try:
$currgame = 310791;
$sql = \"SELECT fk_player_id, p
Since I don't see it in your code, make sure you're instantiating the mysqli
object before trying to query on it:
$mysqli = new mysqli("127.0.0.1", "user", "password", "mydb");
if($mysqli->connect_error){
die("$mysqli->connect_errno: $mysqli->connect_error");
}
Also, a ServerError
would certainly show up in your logs and point you in the right direction.