ternstyle - Lehigh Valley, Allentown, Bethlehem, Easton, WordPress, Lehigh Valley web design, web programming, web development, lehigh valley web hosting, content management tools, website plugins, WordPress plugins, WordPress Themes, php libraries, php classes, javascript libraries, javascript classes, jQuery plugins, web programming, free web software, free php classes, free software

  • New PRO version of the Automatic Video Posts Plugin for WordPress ™!

    The easiest WordPress™ and YouTube® integration available

    It’s as simple as adding your channels and playlists and the plugin does the rest. Your videos will be automatically imported and embedded in your posts; thumbnails and all!

    Check it out now!
  • Members List PRO PLUGIN FOR WordPress ™!

    The most robust WordPress ™ users directory!

    The Members List PRO plugin has search, radius search, paging, Google Maps, a fresh new design and more! Create lists with NO effort!

    Check it out now!

Form Data Processing PHP Class

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.


Download Form Data Processing PHP Class


4 KB

Sample Code

$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

Current Version

The current version of this software is 2.7.


  • Choose which global array to choose from ($_POST or $_GET)
  • Exclude posted data from master array by name
  • Exclude posted data from master array by regular expression
  • Add custom values to master array
  • Combine posted values to create one value
  • Merge posted data by regular expression
  • Compile MySQL INSERT and UPDATE statements from master array


  • PHP 4


ternstyle > Products > PHP classes > Form Data Processing PHP Class

    • about the owner…

      Matthew Praetzel

      My name is matthew praetzel. I am located in the Lehigh Valley of Pennsylvania where I currently reside in Bethlehem. I have been in web development for 11 years and have been writing applications since 2002. I am proficient in PHP, MySQL, Javascript, HTML and CSS.

      Email:    matthew@ternstyle.us

  • social places

  • Newsletter / Updates

Copyright © 2010 Ternstyle Inc. All rights reserved.
site design: ternstyle.us
Lehigh Valley Website Design