Tag : million row table


How to Create a Table That Can Display One Million Records

If you were to create a PHP script that creates a plain HTML table with one million rows, you’ll immediately run into a few problems trying to load it in a browser: It requires downloading hundreds of megabytes (depending on row size) The browser will create millions and millions of DOM elements and run out of memory As a result, it will freeze and crash. Developers have known that this is a foolish thing to do for a long time.  […]