Hello,
I am having a problem putting the results of a large database query to the browser.
I query the database for the fields 'client_id' (primary key) and 'company_name' WHERE category='some_character'
Each record it the database has a 'category' letter assigned to them (a, b, c, whatever).
I echo them to the browser like so.
foreach ($list_array as $row)
{
$url = "modify_client.php?client_id=".($row["client_id"]);
$title = $row["company_name"];
echo "<tr><td class=\"lists\" width=\"50%\">";
do_html_url($url, $title);
echo "</td>";
echo "<td width=\"50%\">";
echo $row["city"];
echo "</td></tr>\n";
}
So as you can see... it prints out a giant list of everything in 2 columns straight down the screen. Which gets very long.
Some of those categories are fairly small. Category c has 4 records, a has 260 or so, but b has 694.
When I run my code with category=a or c it works fine, however when I use b it will crap out most of the time and say 'page can not be displayed'.
Is this a browser memory issue that I can't fix, or is it something else (Apache, PHP, MySQL)?
Thanks,
Pharismod