Re: Re: Simple Search Logic Issue...

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

 



Bastien Koert wrote:

> [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'
> 
Um, of course that is exactly what I told my fingers to type, but somehow
they didn't listen to me :-)



Cheers
-- 
David Robley

... "I will not raise taxes on the middle class." -- Bill
Today is Pungenday, the 48th day of Chaos in the YOLD 3175. 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[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