Hi All,
This one has me scratching my head.
At the moment I have an index page which contains multiple calls to mySQL with each returning different sets of data for elements such as picklists etc. As a result the index page takes between 6 to 12 seconds to display while these queries are being executed.
Is there a simple methodology or concept in PHP for returning all information that I require from my DB in just one SQL query and say dump the result into an array.
I have manged to get all of the desired information into a single array but it is then how I index or interrogate this array to retrieve only the elements that I require.
The desired effect of all this being that it is quicker to search and process an array in memory rather than using SQL and incurring disk access cost and other disk-based resources.
MicroBlueChip.