Optimize PHP script fetching records from the database tables, their processing.
Hello. A PHP script display statistics from the database.
1) Is fetching all records from a table
2) processing of all records in a foreach loop,
3) display the desired data on screen in table, charts and dice.
The fact that the table I have formed so many entries (nearly 40,000) that the script just cant get them all and gives the error:
06.06.2020 21:43