note 13600 added to function.sql-regcase.php
| From: | dado at dado dot org | Date: | Sat, 23 Jun 2001 00:42:50 +0000 |
| Subject: | note 13600 added to function.sql-regcase.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-14584@lists.php.net to get a copy of this message | ||
Another way of achievieng the same result is by converting the case:
WHERE upper(field_name) LIKE upper('%$pattern%')
matches partial strings of any case.
But this is strictly a SQL query.
No PHP involved.
http://www.php.net/manual/en/function.sql-regcase.php