destoon-列表页调用分类属性

实现代码如下

 

<?php

           $shuxing = $t[itemid];

           $b = $db->get_one("select value from destoon_category_value where itemid='$shuxing'");

           echo $b[value];

?>

使用时,注意表前缀,destoon是默认的前缀。

posted @ 2018-12-05 10:27  小丫的小破孩  阅读(861)  评论(1编辑  收藏  举报