Accessing Assigned Variables
| From: | Darryl Bleau | Date: | Fri, 31 Jan 2003 19:43:53 +0000 |
| Subject: | Accessing Assigned Variables | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7437@lists.php.net to get a copy of this message | ||
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?