有问题帮我找找
<?php error_reporting(0); $db = mysqli_connect('locahost','root','root','test'); mysql_select_db($db); $qe = mysql_query('SELECT * FROM uid'); $row = mysql_fetch_array($qe); var_dump($row); ?>
输出出来的是一个null,我数据库是有值的
<?php error_reporting(0); $db = mysqli_connect('locahost','root','root','test'); mysql_select_db($db); $qe = mysql_query('SELECT * FROM uid'); $row = mysql_fetch_array($qe); var_dump($row); ?>
输出出来的是一个null,我数据库是有值的
2017-05-08
举报