This class provides a similar way of inserting updating values like with pg_insert and pg_update.
Most recently a new version was added that suports 2 new functions:
- buildform($table,$form_action='',$method='post',$action='insert');
//builds the form from a sql table
//identifying the primary field so that it will be hidden
- listtable($table); // lists contents of a table
Now also implements a buildform($table) function and
a listtable($table) function.
For the build_form method a new class was added class html that handles the
input areas and text areas.
This can be a good method to assist the programmer, and good for small projects.
It can read the configuration from a file or it can be passed to class. This is demonstrated by another class: wison_class.php . |