I took some time this morning to check out and merge some existing pull requests for PHP-SQL-Parser, the most popular SQL parser for MySQL and PHP.
I'm thinking about adding a Validate($conn,$sql) method to the parser to validate the syntax of the SQL against the given MySQL database.
My SQL Dump
MySQL musings by a self professed MySQL Geek
- PHP-SQL-Parser updated with pull requests