View Single Post
  #4  
Old 10-15-2008, 07:35 AM
 
geckoday geckoday is offline
 

X-Wizard
  
Join Date: Aug 2005
Posts: 1,073
 

Default Re: Using integers within Smarty

Don't use math - its slow. Just use assign:
PHP Code:
{assign var="test" value="`$test+1`"
Depending on what exactly you are trying to do you also might look at the Smarty cycle function.
__________________
Manuka Bay Company
X-Cart Version 4.0.19 [Linux]

UGG Boots and other fine sheepskin products
http://www.snowriver.com
Reply With Quote