search
Login

Categories


C Books Guide and List
C++ Books Guide and List
Best Java Books

3.8k questions

4k answers

117 comments

10.7k users

0 votes
49 views
asked Guru 24.6k points 29 52 81

1 Answer

0 votes
We can create input fields with same name for "name" attribute with squire bracket at the end of

the name of the name attribute, It passes data as an array to PHP.

    For instance :

    <input name="MyArray[]" />  <input name="MyArray[]" />  <input name="MyArray[]" />  <input

name="MyArray[]" />
answered Guru 39.1k points 10 21 33

Related questions

0 votes
1 answer 34 views
34 views
asked sunny Expert 11.4k points 14 22 28
0 votes
1 answer 22 views
0 votes
1 answer 19 views
0 votes
1 answer 17 views
17 views
asked omari Sr Member 3.9k points 5 8 12
0 votes
1 answer 22 views
22 views
asked sara Guru 24.6k points 29 52 81
...