×  
{php:$tmp = phpok("_total","pid=项目ID")}
{if $tmp}
有内容再执行

{/if}


切记不要用$list.total