Re: Large table doesn't display

From: Date: Mon, 05 Nov 2001 19:07:12 +0000
Subject: Re: Large table doesn't display
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-14024@lists.php.net to get a copy of this message
Hi.
I've got a table with over 11,000 records that I want to display and print. I'm running an intranet with mySQL and PHP4 on NT4.0 sp6a. Queries that return even up to 5000 records are pretty snappy. 7500 or more records are returned with only a slight delay. 10,000 or more just stop. I've got to print the whole list. My users don't want to print a page at a time.
You could try to get the data is several bits. mysql_query ( "select * from tablename limit 4000,1" ); mysql_query ( "select * from tablename limit 4000,4001" ); mysql_query ( "select * from tablename limit 4000,8001" ); mysql_query ( "select * from tablename limit 4000,12001" ); Something along the lines may work. Good luck. _ Lasar

« previous php.db (#14024) next »