note 4231 deleted from each by ronabop

From: Date: Sun, 03 Sep 2000 09:56:47 +0000
Subject: note 4231 deleted from each by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-4022@lists.php.net to get a copy of this message
I tried the example code: echo "Values submitted via POST method:<br>"; reset($HTTP_POST_VARS); while (list($key, $val) = each($HTTP_POST_VARS)) { echo "$key => $val<br>"; } along with others similar and I keep getting the error "Warning: Variable passed to reset() is not an array or object in files/test.inc on line 3" Anyone have any idea why the "$HTTP_POST_VARS" is not being accepted as a variable? (Yes, this code was called after a POST form.)

« previous php.notes (#4022) next »