Re: What's in my array

From: Date: Wed, 10 Oct 2001 14:18:43 +0000
Subject: Re: What's in my array
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-70667@lists.php.net to get a copy of this message
At 10:15 10/10/01 -0400, Don wrote:
I have a form that posts to a PHP script. In my script, I decode the vars with the line: $form = $http_post_vars; From the $form array (or hash) , is there a way to determine what my post variable names are? Thanks, Don
<?
        foreach($http_post_vars as $key => $value) {
                echo "$key : $value<br>";
        }
?> Thomas.

« previous php.general (#70667) next »