phpFormGenerator is a class that can generate scripts can output and process Web forms for entering data to insert as a new row of a given MySQL table.
The class takes the resource handle of the result of a query to retrieve the names of the fields of a MySQL database table. Then it uses the result set field names to generate a script that presents a form to enter values that will be inserted in a new table row.
Some details of the presentation of the generated form can be defined when the script is generated. Other details are defined in a separate CSS stylesheet.