Have an account? Sign in
Login  Register  Facebook
mysql_fetch_assoc errror on my script
the php line
return mysql_fetch_assoc(mysql_query("select * from siteconfiguration order by id desc"));

thats the error :
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/qutexoil/public_html/configs/AdministratorClass.php on line 89
Started: September 18, 2011 Latest Activity: September 18, 2011 php mysql
1 Answer
its must be one of this:
  • there is no table in your database under siteconfiguration name
  • there is no field under id name

Posted: MacOS
In: September 18, 2011

Your Answer

xDo you want to answer this question? Please login or create an account to post your answer