defining arrays in smarty via config files

Posted by quardas on Stack Overflow See other posts from Stack Overflow or by quardas
Published on 2009-11-07T13:55:26Z Indexed on 2010/04/03 4:03 UTC
Read the original article Hit count: 278

Filed under:
|

Is it possible to defining arrays in config files in smarty?? for example I want have small data base in config file (located in /configs) - few (about 20) products descriptions: title, price, description. After that I want to list it via foreach or section. How can I define that array in Smarty without MySql or other db engine. Can I do that?

© Stack Overflow or respective owner

Related posts about smarty

Related posts about php