This question is very simple. I have an echo statement where that outputs a loop of input. Now in the input name I want to have duration(1, then 2, then 3, then 4), essentially by increments where it would output:
input 1 name=duration1
input 2 name=duration2, etc.
Here is what I have done so far:
$numberIncrease = 0;
echo '<a href="" id="liSpacing"><label id="labelSearch"><input class="filter" name="duration' . ++$numberIncrease . ' type="checkbox" value="' . $dur_title . '"> $dur_title Day(s)</label></a> <br />';