Quote:
Originally posted by JJR512
How does putting the template name in the $templateused variable save a query?
|
All the templates mentioned in this variable are loaded first, using one SQL query for all of them together. If you then request a template which was not mentioned there, an additional SQL query is made to retrieve it.
Thanks for fixing your hack! I think I accidently closed a thread while I was playing with it, but now I can't find it...

Oh well, let my users think I'm a bad administrator.