note 1181 deleted from mysql_query by ronabop
| From: | ronabop@php.net | Date: | Sat, 12 Aug 2000 22:28:57 +0000 |
| Subject: | note 1181 deleted from mysql_query by ronabop | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-1691@lists.php.net to get a copy of this message | ||
Hi, I have this query:
$sel2 = mysql_query("SELECT code FROM organization WHERE code = $code");
to check whether the $code is in the table. How do I know wheteher the query results an empty set or
a unique $code value ?