View Single Post
Old 03-12-2008, 11:49 AM   #7 (permalink)
maZtah
The Acquainted
 
Join Date: Oct 2007
Posts: 170
Thanks: 18
maZtah is an unknown quantity at this point
Default

I played a abit with it, this is also a way I came up with:

PHP Code:
foreach ($_POST as $szKey => $szValue)
{
     
$aForm[$szKey] = secureInput($szValue);

Then you have all the fields in the $aForm array. So when you want to echo the fields just do echo $aForm['name'];. Easy as that.
maZtah is offline  
Reply With Quote