调试一下
<?
$co=mysql_connect('localhost','root') or die(mysql_error());
mysql_select_db('test',$co) or die(mysql_error());
$a="select * from table3";
$result=mysql_query($a) or die(mysql_error());
while($row=mysql_fetch_array($result)){
echo($row["admin"]);
print_r($row);
}
?>
<?
$co=mysql_connect('localhost','root') or die(mysql_error());
mysql_select_db('test',$co) or die(mysql_error());
$a="select * from table3";
$result=mysql_query($a) or die(mysql_error());
while($row=mysql_fetch_array($result)){
echo($row["admin"]);
print_r($row);
}
?>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货