For Programmers: Free Programming Magazines  


Home > Archive > PHP Smarty Templates > February 2005 > Re: [SMARTY] insert smart tag between javascript









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [SMARTY] insert smart tag between javascript
Abdul-Wahid Paterson

2005-02-28, 8:59 am

Hi,

You will have to close-reopen the literal...

{literal}.......{/literal}{$variable}{literal}.....{/literal}


On Mon, 28 Feb 2005 16:55:03 +0700, Willy Mularto <sangprabv@gmail.com> wrote:
> Hi,
> I just do {literal}..{/literal}to call javascript in smarty, then how to
> insert {$variable} between the javascript? because if I view source then it
> will show {$variable} not the value of $variable. Thank you and every reply
> is highly appreciated.
>
> Regards
>
> Willy
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com