Re: SQL wildcards???
| From: | Leonard Tambunan | Date: | Wed, 06 Dec 2000 05:46:42 +0000 |
| Subject: | Re: SQL wildcards??? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-5036@lists.php.net to get a copy of this message | ||
> I'm new to PHP, so I have a lot to learn. Is there a way to use any of these
> string comparisons in a SQL statement? Like (select * from database where
> field = "some string comparison") I want to find every instance of a word
> that the user supplies. Are there any wildcard characters I can use?
SELECT * FROM table WHERE char_field='%string%';
Regards