Jump to content
Larry Ullman's Book Forums

Accessing And Collecting Post[] Data From An Array In Php


Recommended Posts

I have a form like the one below which is posted to processForm.php, and the user can dynamically add more with jquery.

 

<input type="text" name="subject[ ]" />

<input type="text" name="grade[ ]" />

<input type="text" name="year[ ]" />

 

<input type="text" name="subject[ ]" />

<input type="text" name="grade[ ]" />

<input type="text" name="year[ ]" />

 

<input type="text" name="subject[ ]" />

<input type="text" name="grade[ ]" />

<input type="text" name="year[ ]" />

 

Please How can i access those arrays from subject[], grade[] and year[] inputs by the user? 

Link to comment
Share on other sites

 Share

×
×
  • Create New...