Hello Ben,

Wednesday, February 11, 2004, 9:38:38 PM, you wrote:

BR> Ah-ha!  I missed that, and I always do.  Let's hope I don't anymore.
BR> While we're on the subject, why is PHP set up this way?  Why can't it
BR> just add the elements to the array automatically, since adding the
BR> square brackets to one's HTML form name is not a standard practice?

I guess because the times when a value will be an array vs. a straight
variable are probably so small that it's un-necessary overhead on
PHP's behalf to have to treat every single element as a potential
array. Far easier to just stick [] on the end and tell PHP it is.

-- 
Best regards,
 Richard                            mailto:[EMAIL PROTECTED]

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

Reply via email to