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.