I saw something on this site:
Handling array of HTML Form Elements in JavaScript and PHP http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=343
It said to put the array in the name
property and how to get the input collection's value. For example, name="education[]"
But as I know, an HTML input element is array-ready by name
.
On the client-side (GetElementsByName
) or server-side ($_POST
in PHP or Request.Form
in ASP.NET).
For example: name="education"
, so what is the different with or
without the []
?