PHP Classes

Form Table Generator: Generate forms to add or edit MySQL table records

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   Screenshots Screenshots   View files View files (10)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-08-24 (7 years ago) RSS 2.0 feedNot enough user ratingsTotal: 2,385 This week: 2All time: 1,535 This week: 726Up
Version License PHP version Categories  
ftg 1GNU Lesser Genera...4HTML, Databases
Description Author  

This class can be used to generate HTML forms, based on table schema automaically deterimend from a database table. The HTML can be customised.

It retrieves the list of fields of a given MySQL database table. Then it generates HTML forms for entering values of records of that table.

The table primary key field can be automatically omitted from the output.

The generated forms may be populated with default values when the forms are generated in edit mode.

An XML configuration file can be used to define how to map the table fields into form inputs. The configuration file can also be used to add, remove or customise form sections.

The generated forms can be returned as a string or saved to a file.

Picture of Michael
Name: Michael <contact>
Classes: 3 packages by
Country: United Kingdom United Kingdom
Age: 28
All time rank: 48824 in United Kingdom United Kingdom
Week rank: 664 Down27 in United Kingdom United Kingdom Down

  • extra/raw_output.jpg
  Files folder image Files  
File Role Description
Files folder imageextra (5 files)
Plain text file FormTableGenerator.class.php Class Main Class File
Plain text file readme.txt Doc. Relevant Package Info
Plain text file Unserializer.php Class Modified PEAR Package
Accessible without login Plain text file ftg.config.xml Data Configuration File
Plain text file ftg.config.xsd.xml Data Configuration File XSD

  Files folder image Files  /  extra  
File Role Description
  Accessible without login Plain text file Manual.html Doc. Package Manual
  Accessible without login Plain text file examples.php Example Examples of Use
  Plain text file tests.php Example Test Class Methods
  Accessible without login HTML file html_output.php Output Raw Output as html file
  Plain text file GPL_Version2.txt Lic. Licence

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,385All time:1,535
 This week:2This week:726Up