View Single Post
Old 07-25-2009, 09:25 AM   #2 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

You need to check what is being returned from mysql_query() as it looks like the query is failing for some reason—could be you aren't connected to the database, or the query itself has invalid syntax, etc.. You can get at the error with mysql_error().
Salathe is offline  
Reply With Quote