03-12-2008, 11:49 AM
|
#7 (permalink)
|
|
The Acquainted
Join Date: Oct 2007
Posts: 170
Thanks: 18
|
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.
|
|
|
|