Text query to SQL query translator?
| From: | Benjamin B. Thomas | Date: | Sat, 12 Aug 2000 01:02:14 +0000 |
| Subject: | Text query to SQL query translator? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-1985@lists.php.net to get a copy of this message | ||
Is there a PHP package which is the equivalent of the perl Text-Query-SQL
module? <http://www.senga.org/Text-Query-SQL/html/description.html>
I am looking for something which takes a query string the average web surfer can
understand/produce and turns it into a MySQL query. I am certain something like
this has been written, but I cannot seem to find it.
From the Text-Query-SQL description:
"Text-Query-SQL is derived from the Text-Query module. What is
Text-Query then? It is a general purpose query parser and
resolver. It is able to parse the AltaVista 'simple query' and
'advanced query' syntax. The resulting syntax tree is then used
to build a search query that depends on the database used.
Thank you for any pointers!
-benjy