实现代码如下

 

<?php

           $shuxing = $t[itemid];

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

           echo $b[value];

?>

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

相关文章: