php中mysql_fetch_row():赋值报错大神们帮帮忙
<?php$conn=@mysql_connect("localhost","root","")ordie("链接错误");mysql_select_db("php100...
<?php $conn= @mysql_connect("localhost","root","") or die ("链接错误"); mysql_select_db("php100sy",$conn); $sql = "SELECT * FRON `test`"; $query = mysql_query($sql,$conn); $row=mysql_fetch_row($query); print_r($row); echo $row[1]; ?> 第六行($row=mysql_fetch_row($query);)在浏览器里好是报错。说参数有问题。
展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询