Developer community
0 votes
59 views
asked by Guru (24.6k points) 31 57 92 | 59 views

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 by Guru (39.1k points) 10 23 38

Related questions

0 votes
1 answer
asked by sunny Expert (11.4k points) 16 23 32 | 39 views
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
asked by omari Sr Member (3.9k points) 5 8 12 | 22 views
0 votes
1 answer
asked by sara Guru (24.6k points) 31 57 92 | 26 views
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

Categories


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

3.8k questions

4k answers

117 comments

10.7k users

3,754 questions
4,046 answers
117 comments
10,709 users