Re: Re: Simple Search Logic Issue...
| From: | Bastien Koert | Date: | Tue, 17 Feb 2009 04:54:42 +0000 |
| Subject: | Re: Re: Simple Search Logic Issue... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-288403@lists.php.net to get a copy of this message | ||
[snip]
>
>
>
> For example LIKE 'c' will only match a field that contains just 'c'
>
> LIKE '%c' will match a field starting with 'c' and containing any number of
> characters
>
> [/snip]
> Cheers
> --
> David Robley
>
> Make like a banana and split.
> Today is Sweetmorn, the 46th day of Chaos in the YOLD 3175.
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
hate to do this at a late date, but %c will match anything ending in
'c'...'c%' will match anything starting in 'c'
--
Bastien
Cat, the other other white meat