日期:2014-05-17 浏览次数:20834 次
$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')
);