RE: [PHP-WIN] Search expression => SQL WHERE parser?
by Peter Illes other posts by this author
Jan 30 2002 6:29PM messages near this date
RE: [PHP-WIN] Search expression => SQL WHERE parser?
|
RE: [PHP-WIN] How to find out MAC address of remote user
Thanks, Flint.
I'm afraid MySQL does not have this feature :-(. OTOH what I'm looking for
is simpler than that.
E.g. let's turn
[apple pear -cherry]
into
[(FLD LIKE '%apple%') AND (FLD LIKE '%pear%') AND NOT (FLD LIKE '%cherry%')]
Operators:
(space or +) => AND
# => OR
- => NOT
( ) => ( )
It is actually not too complicated, but I wanted to use some pre-created
general parser instead of rolling our own stuff.
Thanks, Peter
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-windows-unsubscribe@[...].net
For additional commands, e-mail: php-windows-help@[...].net
To contact the list administrators, e-mail: php-list-admin@lists.php.net
Thread:
Flint Doungchak
Peter Illes
|