Ternstyle
Ternstyle
A web software and design firm
This class is best used when preparing HTML form post or get data for a database. This class allows you to quickly compile received data into an array according to your specifications. Once you have an array you are able to easily create MySQL INSERT or UPDATE statements.
$post = new parseForm('post',array('id')); $query = $p->updateQuery('table_name','id='.$_POST["id"]);
The above variable $query will be equal to something like:
UPDATE table_name SET keys='values' WHERE id=id
The current version of this software is 2.7.
Connect with us
We dig the back-and-forth.