首页 新闻 搜索 专区 学院

php中在html中如何调用gemodel 的json数据

0
[已关闭问题] 关闭于 2012-11-16 11:39
function cxkindex(){
        $db_user = spClass('cali_user');        
        $this->getmodel = json_encode($db_user->findsql("SELECT cali_brand.`code`, cali_brand.brandname, cali_series.seriesname, cali_model.id, cali_model.modelname, cali_model.country, cali_model.`year`, cali_model.displacement, cali_model.power FROM cali_brand INNER JOIN cali_model ON cali_brand.id = cali_model.brandid INNER JOIN cali_series ON cali_series.id = cali_model.seriesid ORDER BY cali_brand.`code` ASC"));
        //print_r($this->getmodel);
        $this->display('cxkindex.html');
    }
风车转转转的主页 风车转转转 | 菜鸟二级 | 园豆:204
提问于:2012-11-14 13:41
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册