PHP Function: MySQL Row To Form
Need a quick way to edit mysql data with php? This php function takes the name of a mysql table as its input and then builds a unique form for each row in the specified table. The php function checks to length of each field’s data in order to determine if it belongs in a textarea or input field. A unique and valid html form is then built with a uniquely identified update button for each row. This php script does not process the updating it only handles getting mysql field data into editable forms quickly.
Download rowToForm.zip here.



Comments
March 18th, 2008 at 7:32 pm
I am newbie and got rowToForm to work!!! Is there a solution whereby the form will retain input data after update. Any help would be greatly appreciated. Thanks