php explained in sql
| From: | John Taylor-Johnston | Date: | Sat, 20 Aug 2005 03:43:29 +0000 |
| Subject: | php explained in sql | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-220987@lists.php.net to get a copy of this message | ||
In php, if I wanted to know if $mydata->email contained something, I would do this, right?
if ($mydata->email)
{}
How would I express this in SQL (MySQL)?
Thanks. Sorry to be off-topic, if I am,
John