這個(gè)是一般默認(rèn)搜索結(jié)果代碼:
{eyou:assign name="keywords" value="$eyou.field.keywords"}
{eyou:sql sql="Select count(*) as AllNum from ey_archives where title like '%$keywords%' AND channel = 2 AND is_del = 0" cachetime='-1'}
<span class="search-results-count">( <span class="search-results-number">{$field.AllNum}</span> ) results</span>{/eyou:sql}
那自定義的自定義字段的


我如何得到, 搜索 OENO 號(hào)的時(shí)候 得到搜索結(jié)果數(shù)量???
