摘要: <?php//连接数据库参数$host="";$user="";$pass="";$db="";//建立连接$connection=mysql_connect($host,$user,$pass) or die("unable to connect!");mysql_select_db($db) or die("unable to select db!");//选择数据库mysql_set_charset('utf8',$connection); $qu 阅读全文
posted @ 2011-08-13 16:24 fsl 阅读(1415) 评论(0) 推荐(0) 编辑