common source for CREATE TABLE and HTML INPUT widgets
| From: | VaX#n8 | Date: | Mon, 07 Apr 2003 14:38:13 +0000 |
| Subject: | common source for CREATE TABLE and HTML INPUT widgets | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-26901@lists.php.net to get a copy of this message | ||
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.