View Single Post
Old 11-23-2007, 01:53 PM   #4 (permalink)
Karl
The Reckoner
Advanced Programmer Top Contributor 
 
Karl's Avatar
 
Join Date: Sep 2007
Posts: 437
Thanks: 22
Karl is on a distinguished road
Default

Oops, I made an error. Remove the ! from the condition.

PHP Code:
 if (!mysql_affected_rows()) 
to

PHP Code:
 if (mysql_affected_rows()) 
Although going off your last message, this will still fail. This leads me to believe that the problem is actually in the query.
__________________
Any fool can write code that a computer can understand. Good programmers write code that humans can understand.
Karl is offline  
Reply With Quote