|
Re: [SMARTY] Accessing Assigned Variables: msg#00463php.smarty.general
On 31 Jan 2003 at 12:43, Darryl Bleau wrote: > 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! :) ). Sometimes a quick look into the manual does the trick :-) > in my php: > > $smarty->assign("var1","data"); > > then later, I want to do something like this: > > if ($smarty.variables.var1 == "data") > ... > > possible? Of course. But why do you want to use $smarty.variables.var1 if you could simply use $var1? if ($var1 == "data") or if ($var1 eq "data") I don't want to be rude but why don't you guys read the quick start guide and the manual before posting questions to the mailing list? -- Ferdinand Beyer <fbeyer@xxxxxxxxxxxx> -- 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> |
|---|---|---|
| Previous by Date: | RE: [SMARTY] Accessing Assigned Variables: 00463, Peter Billen |
|---|---|
| Next by Date: | Re: [SMARTY] Accessing Assigned Variables: 00463, Darryl Bleau |
| Previous by Thread: | Re: [SMARTY] Accessing Assigned Variablesi: 00463, Darryl Bleau |
| Next by Thread: | Re: [SMARTY] Accessing Assigned Variables: 00463, Darryl Bleau |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |