View Single Post
Old 03-05-2008, 12:48 PM   #1 (permalink)
paulOr
The Wanderer
 
paulOr's Avatar
 
Join Date: Nov 2007
Location: Edinburgh
Posts: 21
Thanks: 1
paulOr is on a distinguished road
Default Text -> SQL parser

Im looking for a way to enter information into a text box like this:

Code:
table: users {
   user:VARCHAR;255;
   passwd:VARCHAR;255;
   url:VARCHAR;35;
}
and it will spit out IN TEXT ONLY, NO DATABASE INTERACTION AT ALL. the following:

Code:
CREATE TABLE `users` (
`user` VARCHAR( 255 ) NOT NULL ,
`pass` VARCHAR( 255 ) NOT NULL ,
`url` VARCHAR( 32 ) NOT NULL ,
) ENGINE = MYISAM
anyone know of a class that does this or knows of a simple way to do it ?
paulOr is offline  
Reply With Quote