No point having 3 $templatesused - combine them into 1 line.
Any template being eval() that's not in $templateused will be 1 query. No question about it.
To see exactly what queries are being run, add this line to your config.php file in your admin directory:
debug=1
Then run any php file with ?explain=1 at the end of the file, and you will see the list of queries being run.
Remember to remove that line from config.php - it's a security risk.
|