Looping through an array of objects

From: Date: Thu, 17 Oct 2002 03:29:52 +0000
Subject: Looping through an array of objects
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6182@lists.php.net to get a copy of this message
Hello, I'm trying to loop in a section, through an array of objects. Is there any way to get to my object properties? An example of what I'd like it to do is this: {section name=sec1 loop=$myObjArray} <li>{$myObjectArray[sec1]->myObjectProperty} {/section} Thanks, phil

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