while($row1=mysql_fetch_row($result1))echo "<option value='".$row1[0]."'>".$row1[1]."</option>";改成while($row1=mysql_fetch_row($result1)){
if($row1[0]==你传的值) $selected=" selected";
else $selected="";
echo "<option value='".$row1[0]."."$selected."'>".$row1[1]."</option>";
}
不知道是不是你说的意思
if($row1[0]==你传的值) $selected=" selected";
else $selected="";
echo "<option value='".$row1[0]."."$selected."'>".$row1[1]."</option>";
}
不知道是不是你说的意思
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货