On Sunday, March 3, 2002, at 11:15  AM, bvr wrote:

> If you append '[]' to the name, an array will be returned after submit 
> with the values of the checked checkboxes.

Is there any other way of doing this?  Using the brackets at the end of 
the input's name is super-convenient, making it relatively easy to work 
with arrays and user input in PHP.  I love that.  But I also wish I 
could validate my pages as XHTML Strict.  I know it's not really a big 
deal, it's just a pride-in-work thing.

Alternatively, is there any plans to change the DTD for XHTML Strict to 
allow brackets?  IMO it's not something that cause problems if it were 
to be supported.  Kind of lame that it's not, actually.

Until then, I'll keep using them (brackets) b/c there's some things that 
it seems I can't do without this technique, but it would be nice....



Erik Price
Web Developer Temp
Media Lab, H.H. Brown

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

Reply via email to