Hello,

I have a subroutine which I use generically to call a bunch of different
templates, depending on which page was called in the query string. Now
my question is, is there a way to test if a template variable exists? I
tried doing something along the lines of:

if ($template->param('FOO_BAR')) { ... }

But that doesn't seem to work. It doesn't give any errors, but it does
not match properly. I did not know if maybe the underscore had something
to do with it or not. Any suggestions / comments would greatly be
appreciated.

Regards,
 
Bryce Porter
Network Administrator
Heart Technologies, Inc.
Direct        309-634-2282
Fax           309-634-2382
 



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to