Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

How to create an array?

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General
View previous topic :: View next topic  
Author Message
pdxchris
Smarty n00b


Joined: 09 Jul 2003
Posts: 3
Location: Portland, Oregon

PostPosted: Thu Aug 28, 2003 4:04 pm    Post subject: How to create an array? Reply with quote

I'm embarrased, but how can I create an array (smarty macro language, not php!)?

I want to do something like
Code:

 {html_table tr_attr=array('bgcolor=#0000ff','bgcolor=#ff0000') loop=$foo}


But this doesn't work. How can I do this?
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> General All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP