It may be better to just let your database handle it. I know MySQL
supports Boolean fulltext searches (in 4.0, I think), and I'm sure
others do too. 

---John Holmes...

> -----Original Message-----
> From: SpamSucks86 [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 11, 2002 7:13 PM
> Subject: [PHP] Boolean Search Interpreter
> Is there an algorithm in PHP or pseudo-code, or any other language
> could help me write an algorithm to take a Boolean search string and
> parse it and convert it into SQL? I can convert it to SQL just fine, I
> just need help parsing the string and figuring out what they want
> NOT, OR). Thanks for any and all help!

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to