mysql_fetch_array error
Posted: Tue Apr 20, 2010 8:24 pm
I am getting the error:
Any idea where I'm going wrong? I'm new to this so any help is much appreciated.
Michael
referencing the third line of this snippet of code:Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource
Code: Select all
$SQLstring = "SELECT * FROM student WHERE id = '$id'";
$QueryResult = mysqli_query($db, $SQLstring);
$Row = mysql_fetch_array($QueryResult);Michael