PHP Classes

phpFormBuilder: Generate and process HTML forms

Recommend this page to a friend!
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 699 All time: 4,668 This week: 225Up
Version License PHP version Categories
php-form-builder 1.0GNU General Publi...5.2HTML, PHP 5
Description Author

This package can be used to generate and process HTML forms.

It can compose a form with all types of basic fields by adding all field definitions programmatically.

It can also process the forms by validating the submitted values.

Picture of Emily Brand
Name: Emily Brand <contact>
Classes: 1 package by
Country: United States United States
Age: ???
All time rank: 2816383 in United States United States
Week rank: 544 Up67 in United States United States Up


1. Use index.php as a starting point. 
2. You must include the headers on index.php on any other forms you may want to create.
3. Do not make the database table ahead of time, although if it is already created, please ensure the field names on the table match exactly to the input names on your form.
4. At the bottom of formdisplay.class.php it is possible to have the form emailed to you and/or the user.
  Files folder image Files  
File Role Description
Accessible without login Plain text file constants.class.php Conf. Set the constants for the database
Plain text file database.class.php Class The class that connects and interacts w/ database
Plain text file fieldstructure.class.php Class A class used to keep the structure of the fields for the database
Plain text file form.class.php Class The actual form builder
Plain text file formdisplay.class.php Class The class that displays the form after submission
Accessible without login Plain text file GPL_License.txt Lic. GPL
Accessible without login Plain text file index.php Example A sample form to demonstrate the builder
Plain text file process.class.php Class The backend of the form submission process
Accessible without login Plain text file README Doc. README

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:4,668
This week:225Up
User Comments (2)
12 years ago (Higor Camara Vaz da Costa)
First good form builder class in a while.
12 years ago (David DelMonte)
For more information send a message to info at phpclasses dot org.