header("Content-Type: text/html; charset=UTF-8");
?>
无标题文档 $conn=@mysql_connect("localhost","root","") or die("数据库连接失败!");
mysql_select_db("student_sys",$conn);
mysql_query("set names utf-8");
$query=mysql_query("select * from user_login");
$row=mysql_fetch_array($query);
echo $row['admin_loginname'];
?>