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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php