时间:2021-07-01 10:21:17 帮助过:2人阅读
$sql = "select sid,township from tbl_township where pid=1";$res = db_query($sql); while (list($sid,$township)=mysql_fetch_row($res)): endwhile;
$provinces = array(array('sid' => 'bj', 'township' => 'Beijing'),array('sid' => 'hb', 'township' => 'Hubei'));