sjaakdelul
IS-IT--Management
Hey,
At home I had a mysql server (3.23), PHP (4.2.2)and an apache server ... until the big crash
Now, I've saved my files at a server of a friend.
But when I run the scripts, I get the follow error:
"Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/ on line 12"
Line 12: while($object = mysql_fetch_object($query)){
Line 13: $gebruikersnaam = $object->gebruikersnaam;
Line 14: }
At another file, I got the almost the same error (now Mysql_fetch_array()):
"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/ on line 114"
Line 114: while ($results_array = mysql_fetch_array($results)) {
At my server there weren't any mistakes ...
Does anyone know the meaning of the error?
At home I had a mysql server (3.23), PHP (4.2.2)and an apache server ... until the big crash
Now, I've saved my files at a server of a friend.
But when I run the scripts, I get the follow error:
"Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /var/ on line 12"
Line 12: while($object = mysql_fetch_object($query)){
Line 13: $gebruikersnaam = $object->gebruikersnaam;
Line 14: }
At another file, I got the almost the same error (now Mysql_fetch_array()):
"Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /var/ on line 114"
Line 114: while ($results_array = mysql_fetch_array($results)) {
At my server there weren't any mistakes ...
Does anyone know the meaning of the error?