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?