|
Re: [SMARTY] Accessing Assigned Variables: msg#00467php.smarty.general
I think you misunderstand what I want to do. there is no '$var1' in my PHP. If you read closely, I assigned like this: $smarty->assign("var1","data"); Just to make sure I wasn't on drugs, I tried what you said and of course, got back: Notice: Undefined variable: var1 in xxx.php on line xxx As I mentioned, I can do this by accessing $smarty->_tpl_vars['var1'] but I thought there was a cleaner way. Ferdinand Beyer wrote: On 31 Jan 2003 at 12:43, Darryl Bleau wrote: |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [SMARTY] Accessing Assigned Variables: 00467, Darryl Bleau |
|---|---|
| Next by Date: | [SMARTY] config_load: 00467, Jason M. Yonan |
| Previous by Thread: | Re: [SMARTY] Accessing Assigned Variablesi: 00467, Ferdinand Beyer |
| Next by Thread: | Re: [SMARTY] Accessing Assigned Variables: 00467, Ferdinand Beyer |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |