Menu
Just looking for a general optimization tip here:
My problem is that I have a function that calls another function, which in turn calls another function that queries a mysql database.
The first function gives me a list of times vertically, the second adds a week of dates to the matrix, and the third queries the database with a simple, no joins query that check for an event happening on the given date and time.
It takes approximately 45 seconds to load the page. WAY too long.
Any advice on how to optimize this?