Justtechjobs.com Find a programming school near you






Online Campus Both


php-db | 2000121

Re: [PHP-DB] SQL wildcards??? From: Doug Semig (dougslist <email protected>)
Date: 12/05/00

Standard SQL defines the percent sign (%) to match one or more characters
and the underscore (_) to match single characters.

Check your database implementation's documentation for extensions and/or
some way of doing Full Text Indexing.

Doug

At 10:02 PM 12/5/00 -0500, Gary wrote:
>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?
>
>Thanks, Gary

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-db-unsubscribe <email protected>
For additional commands, e-mail: php-db-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>