|
[SMARTY] assoc array keys with invalid characters?: msg#00381php.smarty.general
i have an associative array of email headers. for example: $headers['from'] = 'foobar@xxxxxxxxxxx' $headers['content-type'] = 'text/plain' how would i go about accessing an array element with a dash in the key? i have tried: {$headers.content-type} gives me unknown tag error. {$headers['content-type']} gives me a parse error. thanks, larry -- 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] Internationalization: 00381, Nichlas Löfdahl |
|---|---|
| Next by Date: | [SMARTY] ??Cannot Instantiate None Existent Class???: 00381, Roger |
| Previous by Thread: | [SMARTY] get varsi: 00381, Uros Gruber |
| Next by Thread: | [SMARTY] <? tag problem : Smarty bug?: 00381, philippe . morange |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |