passing multiple same input to in form html code example
Example: 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'