Re: dynamically building insert/update forms from db

From: Date: Fri, 14 May 2004 19:07:55 +0000
Subject: Re: dynamically building insert/update forms from db
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-186250@lists.php.net to get a copy of this message
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. ---------------------------------------------------

« previous php.general (#186250) next »