From 6192585caa1cb6db9458ce5a8d9181586e047da2 Mon Sep 17 00:00:00 2001 From: Stephan Poehlsen Date: Thu, 24 Nov 2005 20:48:54 +0000 Subject: bug: next page git-svn-id: file:///home/lennart/svn/public/sse/trunk@56 5fbabb74-0606-0410-a5e4-b5cc6a42724e --- www/index.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'www') diff --git a/www/index.php b/www/index.php index 81ee0b4..062e79b 100644 --- a/www/index.php +++ b/www/index.php @@ -144,9 +144,6 @@ while ($q) { $total = 0; while (isset($sql) and $sql) { - // use LIMIT ==> two queries: 1. total count, 2. results - // or mysql query cache ==> one query (dump data) - $res = mysql_query($sql); if ($res === false) { echo('

'.mysql_errno().': '.mysql_error()."
\n".$sql."

\n"); @@ -183,14 +180,7 @@ if ($total) { echo('

Results: '.$total."

\n". '