Re: search engine (regexp?)
| From: | Chris Hayes | Date: | Mon, 03 May 2004 11:35:21 +0000 |
| Subject: | Re: search engine (regexp?) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185182@lists.php.net to get a copy of this message | ||
urldecode() ?
if i search for 'peeled and diced fresh' (without quotes) it is changed to 'peeled%and%diced%fresh', so mysql searches for all of the words seperately. what happens here is that if there are "-s, then the quotes are removed, but $q will be 'peeled and diced fresh' (without quotes). i think/believe it should be: 'peeled and diced%fresh' (without quotes)