Hi,
I have an extremely large MySQL database (about 1 million items) and am running a fairly complex query on that database. It takes about 2 seconds when I enter the SQL command into phpMyAdmin but it takes around 1-2 minutes to generate that same output using PHP code.
Why would there be such a time difference? If it was a poorly executed query then wouldn't it take a long time for the results to appear in phpMyAdmin as well?