Hi there everyone,

I have delete working perfectly by doing the following:

include("connectionstart.php");

mysql_query ("DELETE FROM emaillist WHERE EMail = '$email'
");

However, how do I return a true or false flag whether the row was deleted or
not?  I basically need to know how to do a 0 or 1 I guess once the row has
been deleted or if the specified email address wasn't found.

Thanks for your help everyone.

Chris


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to