php查詢相關(guān)的標(biāo)簽
php查詢相關(guān)的標(biāo)簽
php查詢相關(guān)的標(biāo)簽
<?php if(!empty($tag['keywords'])){ $ziduan=$tag['keywords']; }else{ $ziduan=$tag['name']; } $lists= syDB('tags')->findSql("select * from ws_tags where keywords like '%".$ziduan."%' and pid=4 limit 4") ?> {foreach $lists as $v} <li> <a title="{$v['name']}" href="{$v['url']}">{$v['name']}</a></li> {/foreach} <li> <a title="更多" href="/tags4.html">更多標(biāo)簽</a></li>
版權(quán)所有:深圳市網(wǎng)商在線科技有限公司
友情鏈接: