<?php $id=mysql_connect("localhost","root","root"); mysql_select_db("db_php",$id); mysql_query("set names gb2312"); ?>