General SQL Parser PHP version only including one basic feature: syntax check. This PHP SQL Parser is built on General SQL Parser C version. You can extend this PHP SQL Parser to add all features you need. All necessary files are available here(About 9M).
1. Put pgsp_parser.so under extension_dir, you can find extension_dir on your server via phpinfo.
2. Add a line including: extension = pgsp_parser.so in php.ini.
3. Copy test file: sql_parser.php to _SERVER["DOCUMENT_ROOT"] of your site.
4. Restart apache, apachectl restart
5. Open http://www.yoursite.com/sql_parser.php
Feel free to contact us if you have
any questions while using this PHP SQL Parser.
If you have any questions about General SQL Parser, You can always send us an email and we'll get back to you within 24 hours.