Can you please help me solve this error message? Thank you~!
phpcn_u108134
phpcn_u108134 2018-03-28 22:59:31
0
1
1037


Warning

: mysql_fetch_array() expects parameter 1 to be resource, array given in

C:\phpStudy\PHPTutorial\WWW\RFBLOG\include\lib\mysql.php  on line  99


下面是99号的代码

function fetch_array($query , $type = MYSQL_ASSOC) {

return mysql_fetch_array($query, $type);


phpcn_u108134
phpcn_u108134

reply all(1)
好人二狗

mysql_fetch_array() expects parameter 1 to be resource, array given in

This error means that the first parameter of the mysql_fetch_array() function should be given to a resource, that is, the result returned by the mysql_query function, but You gave an array, you can print the $query


you passed in.
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!