Thread: php join tables
View Single Post
Old 10-06-2008, 08:14 PM   #6 (permalink)
sketchMedia
The Prestige
Advanced Programmer Top Contributor Good Samaritan 
 
sketchMedia's Avatar
 
Join Date: Oct 2007
Location: Manchester, UK
Posts: 854
Thanks: 32
sketchMedia is on a distinguished road
Default

It means that whatever mysql_query returned was not a result resource, therefore it must have failed somewhere.
try:
PHP Code:
 mysql_query("your query") or die(mysql_error()); 
that wil give you a better idea what the problem might be
__________________
mysql> SELECT * FROM `users` WHERE `users`.`clue` > 0;
Empty set (0.00 sec)
sketchMedia is offline  
Reply With Quote