dpg76975 2009-12-16 15:08
浏览 15
已采纳

PHP / CodeIgniter - 迭代9000+数据库行生成空白页面下载

I'm trying this:

function send_sms() {
 $liveQuery = $this->db->get('liveList');
 $counter = 0;

 foreach($liveQuery->result() as $row):
  $counter = $counter+1;
  echo("Not hatin', just iteratin'. Message " . $counter);
 endforeach;
}

When liveList has 8000 records it runs just fine, but when I try with 9000 rows it generates a download of a blank, 0 KB, document. Anyone know why this happens?

  • 写回答

3条回答 默认 最新

  • donglie7778 2009-12-16 15:13
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?