Can you give me some detailed explanation about the parameters in foreach? I’m new to PHP and there are a lot of things I don’t understand!
<{foreach item=adv key=key from=$cList.adv}>
<{if $key!=3}>
<p class="adsimg"><a target="_blank" href="<{$adv.link}>"><img width="<{$adv.width}> " height="<{$adv.height}>" src="<{$adv.product_pic}>"></a></p>
<{/if}>
<{/foreach}>
You can search a lot of them online, they are very detailed, you can take a look
http://www.phpernote.com/php-...
This is a smarty template
http://www.yiibai.com/smarty/...