I have a fairly large database query, that returns 5438 results. I have a function in my code that returns everything from that query as an associative array:
while ( $row = mysql_fetch_assoc($result) ) {
$subscribers[] = $row;
}
The problem is that the browser times out by the time it gets to number 5405. I've confirmed this by writing out to a file.
The browser then does a bunch of retries. This happens in both Firefox and IE. I can't seem to change the browser setting on how long to wait before a retry.
What I want to konw is if there's a faster way of doing the while loop that prevents it from timing out.
Anyone experienced this before?
Thanks in advance,
Antun