CREATE TABLE and input widgets from DB schema object

From: Date: Mon, 07 Apr 2003 14:43:21 +0000
Subject: CREATE TABLE and input widgets from DB schema object
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-4679@lists.php.net to get a copy of this message
I've noticed that the schema of your database is reflected in both the CREATE TABLE commands (and INSERT, UPDATE, etc.) as well as the HTML form input widgets. Among other commonalities, the maximum length should be specified in the VARCHAR(N) and size=n attributes of the tables and HTML forms. Has anyone considered writing a class that could both generate HTML and SQL statements? I've taken a stab at it but it's not close to usable yet.

« previous php.pear.general (#4679) next »