<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head></head><body>
<?php
$conn = mysql_connect("localhost:3306","root","Li6853828AB");
if(!$conn){ die("error!");}
mysql_query("set names gb2312",$conn);
$strsql = "select * from blog_content order by uid";
$result = mysql_query($strsql,$conn);
$row = mysql_fetch_array($result);
?></body>
</html>显示Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\php\blog\type.php on line 14