Hello!

Would work such scheme :

<TMPL_INCLUDE NAME=<TMPL_VAR NAME=choose>> 

I have such situation: i need to include tmpl-file who's name will get
script like this :
--
my $q = new CGI;

my $choose = ($q->param('choose'));

print $q->header();

$t->param(choose=>$choose);

print $t->output();
--

For example if choose="about.tmpl" i need include file about.tmpl, if
choose="form.tmpl" - form.tmpl


Please tell me how could I do this right ?


tnx.

-- 
wbr. Aleksey V. Kohanov
CJSC "Internet-Service"  
e-mail: [EMAIL PROTECTED]



-------------------------------------------------------
This SF.NET email is sponsored by: Order your Holiday Geek Presents Now!
Green Lasers, Hip Geek T-Shirts, Remote Control Tanks, Caffeinated Soap,
MP3 Players,  XBox Games,  Flying Saucers,  WebCams,  Smart Putty.
T H I N K G E E K . C O M       http://www.thinkgeek.com/sf/
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users

Reply via email to