Thread
:
Using integers within Smarty
View Single Post
#
4
10-15-2008, 07:35 AM
geckoday
X-Wizard
Join Date: Aug 2005
Posts: 1,073
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
geckoday
View Public Profile
Send a private message to geckoday
Find all posts by geckoday