Wildcards
| From: | Morten Nielsen | Date: | Mon, 06 May 2002 20:45:45 +0000 |
| Subject: | Wildcards | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18991@lists.php.net to get a copy of this message | ||
Hi,
I am trying to make a SELECT command like this:
$qid =db_query("
SELECT ID, NAME, ADDRESS
FROM users
WHERE ID=* AND NAME='John'
");
Is it somehow possible to have a wildcard, so it returns all records, where
the name is john and the ID is not important?
Regards,
Morten