Re: Re: Simple Search Logic Issue...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[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

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux