A companion class to PHP Table class, the PHP Form Class provides inheritable classes hooking a particular HTML/CSS form into a data source (currently MySQL and PHP Array). Any particular rendered element can be overloaded, complex validation and field-specific errors are provided, all state is handled transparently, and certain data sources support locking to prevent multiple updates when editing.