NYCPHP Meetup

NYPHP.org

[nycphp-talk] Javascript and PHP arrays (Massive Redux)

Joshua Glenn wheelie at acedsl.com
Thu Jul 29 13:19:24 EDT 2004


I just came across the same problem and solved it buy using
getElementById().

ie:
<name="array[]" id="array">

-josh

> Okay guys, I know we visit this every couple months. Please bear
> with me :)
>
> Where is a good resource (php.net and google don't seem to have answers I
> can use) for validating the form with Javascript where the form vars are
> named with square-brackets so I can handle them as an array in PHP?
>
> Everything I've tried coughs up "undefined" for the value of the
> form var in
> question.




More information about the talk mailing list