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 > To: [EMAIL PROTECTED] > Subject: [PHP] Boolean Search Interpreter > > Is there an algorithm in PHP or pseudo-code, or any other language that > 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 (AND, > NOT, OR). Thanks for any and all help! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php