Newbie - is there a function similar to the sql 'like' comparison operator?
| From: | revDAVE | Date: | Thu, 08 May 2008 15:20:37 +0000 |
| Subject: | Newbie - is there a function similar to the sql 'like' comparison operator? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-274030@lists.php.net to get a copy of this message | ||
Newbie - is there a function similar to the sql 'like' comparison operator?
I would like to be able to compare 2 strings:
If $this ---*like or similar to*--- $that
That type of thing...
I know of this page:
http://us3.php.net/manual/sl/language.operators.comparison.php
But I don't see something 'like' or 'similar' to something else
--
Thanks - RevDave
Cool @ hosting4days . com
[db-lists]