I have a question to looping several numbers together.
I've tried to do with two function below:
for ($x=28; $x <= 31; $x++){
echo $x.'<br>';
}
for($i=1; $i<6; $i++){
echo $i.'<br>';
}
But I want the script with a single step like:
for(){
// code
for(){
// code
}
}
And the final result, I try to implement it on the input option:
<option>28</option>
<option>29</option>
<option>30</option>
<option>31</option>
<option>1</option>
<option>2</option>
<option>3</option>
<option>4</option>
<option>5</option>