If i had a mysql db with 7000 records in it and i had to display all 7000 on my webpage. Are there any tips and tricks to speed the process up (the browser practically crashes before showing all the records) i know i should query it to reduce the number of records selected but i actually need to display 7000…
Share
Turn on output buffering : http://php.net/manual/en/function.ob-start.php
EDIT
The following php fetches 10K products and outputs them as a table with no problems in 0.014 seconds.
SQL Script
Works fine with 50K records too except runtime dives – Page generated in 0.112902 secs
EDIT2
http://phplens.com/lens/php-book/optimizing-debugging-php.php
An excerpt from the above link: