Re: Display Query Result As Editable Form
| From: | Justin Patrin | Date: | Wed, 10 Dec 2003 15:59:13 +0000 |
| Subject: | Re: Display Query Result As Editable Form | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172344@lists.php.net to get a copy of this message | ||
irinchiang@justeducation.com wrote:
Hi all, I am creating a user form whereby I will do an "INSERT" , "SELECT" , "UPDATE" and of course "DELETE" for the form. Right now I am trying to create a form whereby when user choose to update their info, they wil be directed to a form where the fields region are EDITABLE , before that, the fields should contain their "old" info...so can i know how should i go about creating this kinda "Editable" fields using php scripting ???Fields should contain old info retrieved from the DB.....Anyone have any idea?? Realli need some help here. Thanks in advance =) Irin.Or instead of doing it yourself, you could use PEAR's DB_DataObject_Formbuilder, which will create forms for you from records in the database. Or, if that's going to far, you could just use DB_DataObject to get/insert/update/delete your data and use HTML_QuickForm to create the form yourself. http://pear.php.net/package/DB_DataObject http://pear.php.net/package/HTML_QuickForm http://pear.php.net/package/DB_DataObject_FormBuilder -- paperCrane <Justin Patrin>