PHP Classes / mysqlForm

Generate HTML form to create MySQL table records

mysqlForm PHP Class

This class can be used to create HTML forms for entering values to create new records of a MySQL database table. It queries a MySQL database to retrieve the list of fields of a given table. Then it generates HTML for a form that includes inputs to enter values for the fields of a new record of that table. The class generates text or textarea inputs depending on whether a text field has more than 50 characters limit length. It also generates password inputs for MySQL password table fields, and select inputs for enum table fields. The class also can display the results of a query that retrieves the records of a given table.

Similar PHP Classes

Search in PHP Classes

Filter by tags