Incrementing a smarty variable....
| From: | Luc Saint-Elie | Date: | Mon, 23 Jun 2003 13:39:50 +0000 |
| Subject: | Incrementing a smarty variable.... | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9756@lists.php.net to get a copy of this message | ||
Hello,
I've a very stupid question
I need to do
<a href="{$smarty.server.PHP_SELF}?page=image&p={$portfolio.id +1}">
{$portfolio.id} comes from an array
of course
{$portfolio.id +1} doesn't work..
What is the correct way to increment a smarty variable ?
Thanks
Luc