Re: PHP Boolean Interpreter - Need to search a mySQL database

From: Date: Mon, 13 May 2002 00:04:13 +0000
Subject: Re: PHP Boolean Interpreter - Need to search a mySQL database
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-97269@lists.php.net to get a copy of this message
At 4:50 PM -0400 12/5/02, SpamSucks86 wrote: >I was wondering if anyone knew of any good Boolean interpreters (NOT, >AND, OR, +, -, |," ")? I've found three, but they're VERY buggy and I >wouldn't put them into production. Frankly, I don't have the time, >patience, or ability to write a good one from scratch. Here are the >three I've found in case anyone's interested: > >http://www.evolt.org/article/Boolean_Fulltext_Searching_with_PHP_and_MySQL/18/15665/index.html Thanks for that link... that's a great piece of code! With error reporting cranked right up it throws a few warnings, but no errors. It certainly performs as described. The only thing it doesn't seem to do is check for "+". But adding that is a 30 second task. If this isn't good enough for you, just what are you looking for? ...R.

« previous php.general (#97269) next »