|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
pamanes7 Smarty n00b
Joined: 15 Jan 2005 Posts: 1 Location: Mexico
|
Posted: Sat Jan 15, 2005 6:52 pm Post subject: How can i print an array that uses no keys |
|
|
HELLO !
i am new with this template engine.
this is the main problem:
in the php file i got this:
$myarray = array('one','two',blue','black');
how can i make a loop over the array to print the values in the template ?
i saw the code to print an associative array ( arrays like 'name' => 'value') but am not using that kind of arrays.
thanks for the help ! _________________ "To deny our own impulses is to deny the very thing that makes us human" |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
|
Back to top |
|
|
|
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
|