补充下:mysql_query("set names gb2312");或者mysql_query("set names gbk");用了好像不管用。
可能是我位置放的不对!这种是啥编码啊