Simple math in associative arrays?

From: Date: Wed, 11 Aug 2004 16:31:34 +0000
Subject: Simple math in associative arrays?
Groups: php.smarty.dev 
Request: Send a blank email to php-smarty-dev+get-2517@lists.php.net to get a copy of this message
Hi, I have a problem with terms in associative arrays. Here is the relevant snippet of my template: $data[$smarty.foreach.blocks.iteration-1][$smarty.foreach.items.iteration-1] But this leads to a "unknown tag" error... How can I easily solve this? Maybe math does not work in array keys? Manuel Holtgrewe

« previous php.smarty.dev (#2517) next »