摘要:
<?php session_start(); header("content-type:text/html; charset=utf-8"); mysql_query("set names utf8;");?>加上红色部分的代码基本可以解决 阅读全文
摘要:
var subcat2 = new Array();<?$i=0;$sql="select * from cat_small ";//查询所有小类$result=mysql_query($sql);while($rs=mysql_fetch_array($result)){echo "subcat2[".$i++."] = new Array('".$rs["id"]."','".$rs["... 阅读全文
摘要:
<script language="JavaScript"><!--var g_selProvince;var g_selCity;var Provinces=new Array(new Array("110000","北京市"),new Array("120000","天津市"),new Array("130000","河北省"),new Array("140000","山西省... 阅读全文