请问老师怎么处理,谢谢!!
065实例代码:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body>
<table border="1" bordercolor="#000099" bordercolorlight="#000099" cellspacing="0"><tr><td>
<?php
$conn = mysql_connect("localhost","root","root");
mysql_select_db("db_database02",$conn);
mysql_query("SET NAMES GBK");
$rs = mysql_query("select * from tb_while");
do{
echo "姓名:".iconv('gbk','utf-8',$rst[1])." 年龄:".iconv('gbk','utf-8',$rst[2])." 出生日期:".iconv('gbk','utf-8',$rst[3])." 所在地址:".iconv('gbk','utf-8',$rst[4])." QQ:".iconv('gbk','utf-8',$rst[5])."<br><br>";
}while($rst = mysql_fetch_array($rs));
?>
</td></tr></table>
</body>
</html>