>>(In case you don't recognize it php will automatically turns names that look like that into an array.)
PHP does not have access to IDs of HTML elements. Or did you mean something else?
PHP does not have access to IDs of HTML elements. Or did you mean something else?
When a form containing <input type="text" name="foo" value="bar"> is submitted, $_POST['foo'] === 'bar' in PHP. (And it works similarly for other server-side programming languages.)
<input type="text" name="foo[bar][]" value="yaw" />
will result in: $_POST['foo'][0] === "yaw";
In other words you can have a form create multidimensional arrays.