View difference between Paste ID: V9cSXC0n and FV2dYg1V
SHOW: | | - or go back to the newest paste.
1-
	<select name="departdate_day" id="departdate_day" class="mobile-datepicker">
1+
        <select name="departdate_day" id="departdate_day" class="mobile-datepicker">
2-
		<?php
2+
                <?php
3-
			$i=1;
3+
                        $i=1;
4-
			while($i < 32){
4+
                        while($i < 32){
5-
				echo "<option>".$i."</option>";
5+
                                echo '<option value="'.$i.'">'.$i.'</option>';
6-
				$i++;
6+
                                $i++;
7-
			}
7+
                        }
8-
		?>
8+
                ?>
9-
	</select>
9+
        </select>
10-
	<select name="departdate_monthyear" id="departdate_monthyear" class="mobile-datepicker">
10+
        <select name="departdate_monthyear" id="departdate_monthyear" class="mobile-datepicker">
11-
		<?php
11+
                <?php
12-
			$i=0;
12+
                        $i=1;
13-
			while($i < 25){
13+
                        while($i < 25){
14-
				echo "<option>".date("M Y",strtotime(+$i." month"))."</option>";
14+
                                echo '<option value="'.$i.'">'.date("M Y",strtotime($i." month")).'</option>';
15-
				$i++;
15+
                                $i++;
16-
			}
16+
                        }
17-
		?>
17+
                ?>
18-
	</select>
18+
        </select>