在php里写sql查询需要注意的事情
摘要:
---恢复内容开始---今天往php里写了一条sql查询,$sql = "select * from videos where vuser=".$u;$ret = mysql_query($sql,$con);while($row = mysql_fetch_array($ret))『』然后运行时在while语句处卡住了,最后检查nginx的error.log,提示是这样的"[error] 16246#0: *28 FastCGI sent in stderr: "PHP Warning: mysql_fetch_array() expects para 阅读全文
posted @ 2014-03-27 20:26 狂奔钢铁大街 阅读(355) 评论(0) 推荐(0) 编辑