CB> I believe there is a PEAR library package that does this. You might CB> want to do some research to see if it fits your needs.
Yes, there is. Check out PEAR::DB or PEAR::MDB which both have good classes for preparing INSERT and UPDATE statements, as well as for finding out information about what columns and datatypes a table has (which is what I think you are most interested in). These are really easy-to-use classes, too.
Then, I would also suggest checking out the PEAR::HTML_QuickForm class, as it has functions you can use to generate HTML forms.
-- Regards, Ben Ramsey http://benramsey.com
--------------------------------------------------- http://www.phpcommunity.org/ Open Source, Open Community Visit for more information or to join the movement. ---------------------------------------------------
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php