You are here: Re: [SMARTY] in my.tpl : { $somevar } should -according to the docs- output the var $somevar « Smarty Templates Posts « IT news, forums, messages
Re: [SMARTY] in my.tpl : { $somevar } should -according to the docs- output the var $somevar

Posted by Glenn Martin on 10/02/58 11:14

Yes you must assign a value...
$mySmarty->assign('somevar', 'assigned value');

Smarty will only parse what you TELL it too... what if you are writing
a page for smarty, that explains how to write smarty tags? :-p makes
sense doesnt it?

Glenn Martin


On Apr 24, 2005, at 3:37 PM, Kevin Coyne wrote:

> but it doesn't.
>
> Did i get this wrong?
> Do i have to use $mySmarty->assign?
>
> --
> Smarty General Mailing List (http://smarty.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация