Quick question: if I submit a form like the following
<form action='something.php'>
<input type='text' name='a' />
<input type='text' name='a' />
</form>
what would $_GET['a'] output?
Quick question: if I submit a form like the following
<form action='something.php'>
<input type='text' name='a' />
<input type='text' name='a' />
</form>
what would $_GET['a'] output?
If the names end in []
it gives you an array, otherwise it gives you the last result.