Form Arrays support across browsers

Posted by Stomped on Stack Overflow See other posts from Stack Overflow or by Stomped
Published on 2010-05-03T13:21:15Z Indexed on 2010/05/03 13:28 UTC
Read the original article Hit count: 172

Filed under:
|
|

I'm not even sure if form arrays is the proper term, but it looks a bit like this:

<input name='element[]' type='text' />
<input name='element[]' type='text' />

Which is then retrieved in PHP as an array stored in $_POST['element'] -- in this case with 2 values.

I've tested it in the browsers I have available to me, but I've never seen this before and I'm wondering is this supported pretty much in all browsers? Or is this something very old that I've just not run into?

Thanks!

© Stack Overflow or respective owner

Related posts about php

Related posts about html