I tried doing a search and looking in the manual before posting and I did not find anything helpfull. I tried passing the $HTTP_POST_VARS through the function and as a global and it doesn't work. I have even tried passing $PHP_SELF along with $HTTP_POST_VARS. Is there anything else I am missing?
Thanks
<?PHP
store($HTTP_POST_VARS, $PHP_SELF);
//******** FUNCTIONS
function store($HTTP_POST_VARS, $PHP_SELF)
{
echo("<form enctype=\"multipart/form-data\" action='$PHP_SELF' method=\"post\">");
for($i=1;$i<=4;$i++)
{
echo("<br><input type=radio name='item' value='This is item number $i'>Item #$i");
}
echo("<br><br><input type=submit name=submit value='Make your selection'>");
if(($HTTP_POST_VARS[ "submit"]))
{
echo("$item");
}
echo("</form>");
}
?>