How can I take enquiry:

<input name="searchenquiry" type="text" value="john">
or
<input name="searchenquiry" type="text" value="john johnston">

and parse its value to come up with this to do a boolean search

+"john"
or
+"john" +"johnston"

Does there exist a function yet :) ? I suppose I could explode $searchenquiry for spaces and reassemble the bits?

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

Reply via email to