note 11495 added to reset

From: Date: Thu, 22 Feb 2001 15:21:24 +0000
Subject: note 11495 added to reset
Groups: php.notes 
Request: Send a blank email to php-notes+get-11415@lists.php.net to get a copy of this message
re: array functions on HTTP form input hehe... thought it DOES HELP to let your function accessing the predefined variable, such as $HTTP_POST_VARS, know that it's a GLOBAL ex: <? function parse() { list($key, $val) = each($HTTP_POST_VARS); } parse() ?> returns an error. make sure to put the line: global $HTTP_POST_VARS; into the function before you try to acces the variable's values. pardon the false alarm. http://www.php.net/manual/en/function.reset.php

« previous php.notes (#11415) next »