Currently my dropdown looks as following:
$mon = array("Jan","Feb","Mar","Apr","May","Jun",
"Jul","Aug","Sep","Oct","Nov","Dec");
$output="<table border='0' cellspacing='0' cellpadding='0'>
<tr class = 'tit'>
<td>Select Month
<select name='month' onChange='dateShow($infrasId,1)' id='month'>";
for($i = 1; $i <= 12; $i ++) {
$output.="<option value='$i'>".$mon[$i-1]."</option>";
}
$output.="</select>";
I am getting the value of month through URL to a variable $month.
How can I select that month by default?
}) on theifon purpose?