Answers for "how set multiple input form with the same name"

C#
2

how set multiple input form with the same name

<input name="xyz[]" value="Lorem" />
<input name="xyz[]" value="ipsum"  />
<input name="xyz[]" value="dolor" />
<input name="xyz[]" value="sit" />
<input name="xyz[]" value="amet" />

  
$_POST['xyz'][0] == 'Lorem'
$_POST['xyz'][4] == 'amet'
Posted by: Guest on April-17-2021

Code answers related to "how set multiple input form with the same name"

C# Answers by Framework

Browse Popular Code Answers by Language