初学PHP,遇到一个错误:
null
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in…….
后来发现是sql语句写错了,里面的where userid == xxx
将 ‘=’ 写成了 ‘==’。
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
初学PHP,遇到一个错误:
Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in…….
后来发现是sql语句写错了,里面的where userid == xxx
将 ‘=’ 写成了 ‘==’。
暂无评论内容