当我运行我的网页时,无论我使用哪个代码,我总是会收到此错误
Warning: mysql_fetch_array() expects parameter 1 to be resource, boolean given in /home/content/33/10729533/html/website/panel.php on line 67
这是我的代码
<?php
$connect = mysql_connect("N/A","N/A","N/A");
mysql_select_db("cdkeys");
$query = mysql_query("SELECT * FROM cdkeys WHERE = 'cdkeys'");
WHILE($rows = mysql_fetch_array($query)):
$cdkeys = $rows['cdkeys'];
echo "$cdkeys";
endwhile;
?>