Gossamer Forum
Home : General : Perl Programming :

Re: [Chaz] simple Database count

Quote Reply
Re: [Chaz] simple Database count In reply to
Chaz I just wanted to say thank you so much for helping me with this code as I was pretty much stuck on this and had put it aside for a while.

One problem :-) I should have posted my template file

Code:
<?xml version="1.0" encoding="iso-8859-1"?>
<SIG xmlns="http://www.mydomain.com">
<COUNT><!-- tmpl_var count --></COUNT>
<!-- tmpl_loop rows -->
<MOVIE>
<TITLE><!-- tmpl_var title --></TITLE>
<IMDB>http://www.imdb.com/title/tt<!-- tmpl_var imdbID --></IMDB>
</MOVIE>
<!-- /tmpl_loop -->
</SIG><!-- tmpl_var created -->

As I do not push the created and mediatype
data in to the template, but I am know thinking that I might have the created date but could you show me how to not push them in to the template as the script will error unless I add

<!-- tmpl_var created -->
<!-- tmpl_var mediatype -->

in to the loop on the template
Subject Author Views Date
Thread simple Database count SimonTOZ 5315 May 1, 2004, 5:17 AM
Thread Re: [SimonTOZ] simple Database count
Chaz 5173 May 13, 2004, 9:33 PM
Thread Re: [Chaz] simple Database count
SimonTOZ 5193 May 13, 2004, 11:05 PM
Thread Re: [SimonTOZ] simple Database count
Chaz 5166 May 14, 2004, 8:33 AM
Post Re: [Chaz] simple Database count
SimonTOZ 5142 May 14, 2004, 7:14 PM