Re: forms and dynamic creation and unique field names
| From: | Richard Lynch | Date: | Sat, 29 Apr 2006 09:16:49 +0000 |
| Subject: | Re: forms and dynamic creation and unique field names | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-235085@lists.php.net to get a copy of this message | ||
On Thu, April 27, 2006 9:56 am, Jason Gerfen wrote:
> I have come upon a problem and am not sure how to go about resolving
> it. I have an web form which is generated dynamically from an
> imported
> file and I am not sure how I can loop over the resulting post
> variables
> within the global $_POST array due to the array keys not being
> numeric.
> Any pointers are appreciated.
function array_dump($data){
if (is_array($data)){
foreach($data as $key => $value)
echo "$key: ";
array_dump($value);
echo "<br />\n";
}
}
else echo $data;
}
array_dump($_POST);
--
Like Music?
http://l-i-e.com/artists.htm