loops and if statements
| From: | Daniel McCullough | Date: | Mon, 31 Mar 2003 17:48:31 +0000 |
| Subject: | loops and if statements | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9012@lists.php.net to get a copy of this message | ||
I'm very new to Smarty, but I started with a project/exercise that will do something to get me more familiar with Smarty. I wanted to ask what is the best way to split loops/divide loops. Like lets say I have a list of 6 items and I want after each item but the last to have a |, but after the last item just a < br >. Second example is I have a list of 10 things, I want the first five on the first line and the second five on the second line how would I do that.
thanks,
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail