Parsing a simple sql string in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hiya, has anyone had any experience with parsing a string of sql to break it down into its component parts? At the moment I'm using several regex's to parse a string, which works, but I'm sure there's a more elegant solution.

The general idea is to produce a nice looking page giving details of updated fields and values.

I'm only concerned with update statements really, and the queries are very simple, operating on one table at a time, with no sub queries or selects.

Thanks in advance if anyone is able to suggest anything!
Thanks
Ash


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux