RE: [SMARTY] Incrementing a smarty variable....

From: Date: Mon, 23 Jun 2003 15:29:12 +0000
Subject: RE: [SMARTY] Incrementing a smarty variable....
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9757@lists.php.net to get a copy of this message
{counter} :) ____________________________________________ Jonathan D. Poole Senior Developer jpoole@etrotech.com Phone: (416) 995-2477 -----Original Message----- From: Luc Saint-Elie [mailto:luc@regardnumerique.com] Sent: Monday, June 23, 2003 9:40 AM To: smarty-general@lists.php.net Subject: [SMARTY] Incrementing a smarty variable.... 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 -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.smarty.general (#9757) next »