krnl Member
|
Posted: 16 Mar 2008 18:10:07
How can I show the total number of links in my header.tpl? I already know where I want it and what format I want it in...All I need to get is the number! lol So, the sql query would be something like:
SELECT COUNT(*) as count FROM dir_links WHERE status= '0'
But I don't know where this needs to go or how to implement it in the smarty template. Can someone please give me a hint?
I'll pay $10.00 via paypal for the answer.
Thanks in advance.
|