View Single Post
Old 02-27-2008, 12:12 AM   #6 (permalink)
StevenF
The Contributor
 
Join Date: Jan 2008
Posts: 87
Thanks: 49
StevenF is on a distinguished road
Default

Quote:
Originally Posted by Wildhoney View Post
As Andres rightfully pointed out:

php Code:
if(mysql_affected_rows() > 0)
{
    echo ("A new row has been added to the database");
}
When I try that, it echos' "A new row has been added to the database" weather the form has been submitted or not.
__________________
My Personal and Photo Blog
StevenF is offline  
Reply With Quote