Thread: Query Debugging
View Single Post
Old 08-09-2008, 06:46 PM   #4 (permalink)
Kalle
The Frequenter
Zend Certified 
 
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
Kalle is on a distinguished road
Default

Its because the if conditional should be:

PHP Code:
if(!mysql_num_rows($query)) 
__________________
Send a message via MSN to Kalle Send a message via Skype™ to Kalle
Kalle is offline  
Reply With Quote