I've noticed that the database schema affects both the SQL that you write as well as the form HTML elements. Has anyone considered or tried to generate both from the same data structure? That is, you have some kind of representation of the database (perhaps using objects) and call table->create_sql() or table->create_form() to generate SQL or form elements, respectively. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php