Boolean Search Interpreter
| From: | SpamSucks86 | Date: | Fri, 11 Oct 2002 23:12:55 +0000 |
| Subject: | Boolean Search Interpreter | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-119697@lists.php.net to get a copy of this message | ||
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!