counter question
| From: | Super Gabey | Date: | Fri, 04 Apr 2003 17:08:55 +0000 |
| Subject: | counter question | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9097@lists.php.net to get a copy of this message | ||
Is there a way to run something like:
for (i=0; i<data->max; i+=data->step) {
print data[i]->foo;
}
the closest i can find is counter -
{counter start=0 skip=$data->step print=false}
but honestly i'm not even sure how to go about it.
does someone out there know how to do this?
thanks!!
gabe