Faking Boolean

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

 



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


[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