Sorry for the multiple posts. Here's yet another way of doing the same thing.

$expected=array(

'name', // Only accept these variables from a submit!
'email',
'favorite_color'

); foreach ($expected as $formvar)
$$formvar = (isset($_REQUEST[$formvar]))?$_REQUEST[$formvar]:NULL;
----
Manual Page -- [url]http://www.php.net/manual/en/tutorial.oldcode.php[/url]
Edit Note -- [url]http://master.php.net/manage/user-notes.php?action=edit+33987[/url]
Delete Note -- [url]http://master.php.net/manage/user-notes.php?action=delete+33987&report=yes[/url]
Reject Note -- [url]http://master.php.net/manage/user-notes.php?action=reject+33987&report=yes[/url]