我有这个错误
警告:mysqli_fetch_array() [function.mysqli-fetch-array]:无法在第12行的 /home/fights7/public_html/include/load_more_home_posts.php 中获取mysqli_result
并且想知道我在下面的代码中做错了什么?
$articles_data = mysqli_query($mysqli,"SELECT * FROM streamdata WHERE streamitem_id < '$lastID' ORDER BY streamitem_id DESC LIMIT 10") or die(mysql_error());
while($articles_info = mysqli_fetch_array($articles_data)) {
$json = array();
$json['streamitem_id'] = $articles_info['streamitem_id'];
$json['streamitem_content'] = $articles_info['streamitem_content'];
$json['streamitem_timestamp'] = $articles_info['streamitem_timestamp'];
mysqli_free_result($articles_data);