Re: [PHP] forms and dynamic creation and unique field names

2006-04-29 Thread Richard Lynch
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 "\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



Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Barry

Jason Gerfen schrieb:

Martin Zvarík wrote:


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.



"You will never be ready for me."
~ Me

Hahah...


HAHA...


O_o

--
Smileys rule (cX.x)C --o(^_^o)
Dance for me! ^(^_^)o (o^_^)o o(^_^)^ o(^_^o)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Jason Gerfen

Martin Zvarík wrote:


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.



"You will never be ready for me."
~ Me

Hahah...


HAHA...

--
Jason Gerfen

"You will never be ready for me."
~ Me

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Martin Zvarík

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.



"You will never be ready for me."
~ Me

Hahah...

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] forms and dynamic creation and unique field names

2006-04-27 Thread Jason Gerfen
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.


--
Jason Gerfen

"You will never be ready for me."
~ Me

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php