Warning:mysql_fetch_array () expects parameter 1
Warning:mysql_fetch_array () expects parameter 1 to BES resource, boolean given in/home/kxmusic/test.php on line 8
I use XAMPP for Linux edition
The local machine WAMP can be used
But this error occurred last time you went to the server.
Please advise
PHP Code
"; echo "Logout"; }else{echo "Password or user name error"; Session_destroy (); + 28 in?>
29 30<title>:: Open Heart Powder Net:: Happy Music Room</title>
config.php
PHP Code
' + ') {echo "Login timeout"; Exit (); Session_destroy (); }else{$_session[times]=mktime (); Notoginseng}?>
------Solution--------------------
Var_dump ($query); What does this show?
$row =mysql_fetch_array ($query);
------Solution--------------------
Query returned an incorrect result. Should be an object,
$query =mysql_query ($sql) or Die (Mysql_error ());
Turn the error mode on so that there is no such problem because your error level is too high!
discuss
Var_dump ($query);