Re: search engine (regexp?)
| From: | Martin Visser | Date: | Mon, 03 May 2004 11:46:00 +0000 |
| Subject: | Re: search engine (regexp?) | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-185185@lists.php.net to get a copy of this message | ||
what i meant with, it is changed to 'peeled%and%diced%fresh', is that the function i mentioned does that.
i guess i have to change something in that function and it's not urldecode();
Chris Hayes schreef:
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)