[Phpmyadmin-devel] New SQL parser

Robin Johnson robbat2 at fermi.orbis-terrarum.net
Wed Jun 19 03:56:03 CEST 2002


Hi List.

I've written the first steps in having a new parser for the SQL queries

Run:
http://games.techbc.ca/~robbat2/sqlparse.php
View Source:
http://games.techbc.ca/~robbat2/src.php

I will teach it the different between reserved words and other words
tommorow.

It already does a much better job on strings and data inside quotes than
Mike's previous code.

Could somebody please look at the code, and make suggestions on how to do
the array stuff with PHP3 ?

I'm upgrading my test platform to Apache 2.0.39 and the latest PHP
tommorow morning, so that we can be sure things work on the cutting edge.

-- 
Robin Hugh Johnson
E-Mail     : robbat2 at orbis-terrarum.net
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639






More information about the Developers mailing list