Build Array from Input Fields question
If two fields are named people[name], only the last value will be sent with the form. To be completely reliable, you’ll need to use an id for each person you’re collecting details on: <input name=”people[0][name]”> <input name=”people[0][email]”> <input name=”people[1][name]”> <input name=”people[1][email]”> … Use an incrementing counter in your while loop to do this ($i): <?php … Read more