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
while (mysqli_stmt_fetch($stmt)) { printf ("%s (%s)\n", $name, $code); }
This might help you:
http://php.net/manual/en/mysqli-stmt.fetch.php