php连接数据库问题?

在对数据库的数据进行查询时,网页显示mysql_fetch_array() expects parameter 1 to be resource, object given in.....http://img.mukewang.com/5753edb10001717a09090510.jpg

西兰惠子
浏览 1910回答 2
2回答

taoting1234

你的php版本太高,需要用mysqli函数

晚安sp

你用mysqli连接数据库应该用mysqli_fetch_array()
打开App,查看更多内容
随时随地看视频慕课网APP