第一種:在最終欄目調(diào)用
<?=$class_r[$GLOBALS[navclassid]][bname]?>
第二種:萬能的,哪里都行,應(yīng)為是直接查詢數(shù)據(jù)庫輸出的!
<?php $cr=$empire->fetch1("select bname from phome_enewsclass where classid='".$GLOBALS[navclassid]."' limit 1"); echo $cr['bname']; ?>
新聞熱點
疑難解答