logo       

[SMARTY] Accessing Assigned Variables: msg#00461

php.smarty.general

Subject: [SMARTY] Accessing Assigned Variables

I know I saw this in the mailing list someplace, but I can't find it. (It would be nice if the mailing list archive were searchable! :) ).

in my php:

$smarty->assign("var1","data");

then later, I want to do something like this:

if ($smarty.variables.var1 == "data")
...

possible?


--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise