question

From: Date: Thu, 03 Apr 2003 21:54:07 +0000
Subject: question
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-9063@lists.php.net to get a copy of this message
can you loop through an array if its index is other than numerical? foo.php $logdata->results[0]['date']="date"; $logdata->results[0]['policy']="policy"; $logdata->results[0]['action']="action"; $logdata->results[1]['date']="ag"; $logdata->results[1]['policy']="pol"; $logdata->results[1]['action']="dance"; foo.tpl {section name=logrowloop loop=$logdata->results[0]} {$logdata->results[0][logrowloop]} {/section} It appears as if this won't work - but I'd really like to be wrong :(

« previous php.smarty.general (#9063) next »