我不明白为什么我提供的参数无效?我亲爱的代码
dbconnect.class.php http://ideone.com/AILC9
getdata.class.php http://ideone.com/wIbL3
header.class.php http://ideone.com/OQSg9
index.php http://ideone.com/Zp6sF
当我运行 index.php 时,我可以获得以下代码:
<html>
<head>
<title> <br />
<b>Warning</b>: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in <b>C:\AppServ\www\ilk\class\getdata.class.php</b> on line <b>21</b><br />
</title>
<meta name="description" content="<br />
<b>Warning</b>: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in <b>C:\AppServ\www\ilk\class\getdata.class.php</b> on line <b>21</b><br />
" />
<meta name="keywords" content="<br />
<b>Warning</b>: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in <b>C:\AppServ\www\ilk\class\getdata.class.php</b> on line <b>21</b><br />
" />
</head>
</html>