MySQL Result
| From: | Chris Payne | Date: | Fri, 08 Mar 2002 03:34:16 +0000 |
| Subject: | MySQL Result | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-17564@lists.php.net to get a copy of this message | ||
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