About HTML Form Element Names
Did you know that the names of form elements in HTML can be written as arrays. For example, using the following form, user information is entered.
Now in PHP this data can be obtained as an array like this:
or so:
Now in PHP this data can be obtained as an array like this:
$ user = $ _POST ['user'];
or so:
$ user = $ _REQUEST ['user'];