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

Search found 1 match
Smarty Forum Index
Author Message
  Topic: populate an associative array in tpl
linkage8055

Replies: 12
Views: 58744

PostForum: Smarty Development   Posted: Thu Jun 04, 2009 8:19 am   Subject: {srlz} Empty or (String " ) Code Not Parser Change

function _srlz($data) {
if(is_array($data)) {
$retval = '[';

foreach ($data as $k=>$v) {
$use_key = (!$k || !i ...
 
Page 1 of 1
All times are GMT
Jump to:  


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