# in the ArrayName
| From: | Andreas Bender | Date: | Mon, 26 May 2003 16:00:40 +0000 |
| Subject: | # in the ArrayName | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9598@lists.php.net to get a copy of this message | ||
Hello!
I want to display data from my IPTC-Header-Array with the
Smarty-Variable "{$iptc.2#005.0}"
array(21) {
["2#000"]=>
array(1) {
[0]=>
string(2) ""
}
["2#005"]=>
array(1) {
[0]=>
string(5) "Titel"
}
[...]
}
And this is the errormessage I get:
Fatal error: Smarty: [in admin/bildupload.tpl line 14]: syntax error:
unrecognized tag: $iptc.2#005.0 (Smarty_Compiler.class.php, line 380)
in Smarty_Compiler.class.php on line 1812
OK, I think the "#" is the problem - but the name of this array in the
IPTC-Header is "2#005".
What should I do?
--
Gruß
Andreas Bender
*** Webcards, Postkarten, Dateien und Papierabzüge von ***
*** erstklassigen Fotos und Cartoons *** www.bild-und-karte.de ***