PHP Classes

phpFormBuilder: Generate and process HTML forms

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files View files (9)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2010-02-18 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 683 All time: 4,471 This week: 1,138Up
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: 2637333 in United States United States
Week rank: 1602 Up162 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  
 0%Total:683All time:4,471
 This week:0This week:1,138Up
 User Comments (2)  
5 years ago (Higor Camara Vaz da Costa)
First good form builder class in a while.
5 years ago (David DelMonte)