not quite ...
if the form elements are (e.g) <input name='array' ...>, etc.
then you need $_POST["array"] to refer to the element
(just like any other array of arrays in PHP).
but you're right about count($_POST["array"]) ...
and foreach ($_POST["array"] as $key=>$value), etc.
----- Original Message -----
From: Mako Shark <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, December 06, 2002 5:03 PM
Subject: [PHP] More $_ array question...
> If I want to access an array of something from a form,
> is it true that I just have to use
> $_POST["array[$counter"]? So I can legitimately do a
> count() of this array, like count($_POST["array"])?
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php