sql语句循环

2016-07-07 15:01 来源:www.chinab4c.com 作者:ecshop专家

<div class="goodsbox">
<div class="imgbox"><a href="{$goods.url}"><img src="{$goods.thumb}" alt="{$goods.name|escape:html}" width="150" height="200" /></a></div>
<a href="{$goods.url}" title="{$goods.name|escape:html}">{$goods.short_name|escape:html}</a><br />
<!-- {if $goods.promote_price neq ""} -->
{$lang.promote_price}<strong class="price STYLE2">{$goods.promote_price}</strong><br>
<!-- {else}-->
<span class="STYLE1">{$goods.shop_price}</span>
<!--{/if}-->
</div>

用sql语句循环出来,怎么写啊,急用,谢谢,在线等待

回答:
用sql语句循环出来?不明白你说的啥意思