Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

smarty foreach

{foreach from=$myArray item=foo}
    <li>{$foo}</li>
{/foreach}

OR

{foreach $aZoneRecord as $aZoneRecordKey => $aZoneRecordVal}{/foreach}
 
PREVIOUS NEXT
Tagged: #smarty #foreach
ADD COMMENT
Topic
Name
2+7 =