Re: Re: Simple Search Logic Issue...

From: Date: Tue, 17 Feb 2009 08:48:40 +0000
Subject: Re: Re: Simple Search Logic Issue...
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-288413@lists.php.net to get a copy of this message
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.

« previous php.general (#288413) next »