幫檢查那里錯啦 為什么?急
<?php
mysql_connect('localhost','root','');
mysql_select_db('mysql');
mysql_query('set names utf8');
$query = mysql_query('select*from mysql');
$res = mysql_fetch_array($query);
print_r($res);
?>
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in C:\wamp\www\test.php on line?6
2014-12-01
嗯 * 兩邊沒有打空格
2014-11-28
知道啦 不用回答啦