欢迎光临景诺科技软件开发淘宝店

进店请收藏,谢谢

THINkphp 快速夸库操作


$fxnum = M()->db(1,"mysql://".$db_user.":".$db_pass."@".$db_host."/".$db_name)->query("select count(*) as count from gz_user as u inner join gz_user_share  as f ON u.user_id=f.uid  where u.wecha_id='".$openid."'  and FROM_UNIXTIME( time, '%Y%m%d' ) =".date("Ymd",time())." and type='timeline'");

$fxnum = M()->db(1,”mysql://”.$db_user.”:”.$db_pass.”@”.$db_host.”/”.$db_name)->query(“select count(*) as count from gz_user as u inner join gz_user_share  as f ON u.user_id=f.uid  where u.wecha_id=’”.$openid.”‘  and FROM_UNIXTIME( time, ‘%Y%m%d’ ) =”.date(“Ymd”,time()).” and type=’timeline’”);

No related content found.

更多

本文固定链接: http://shanmao.me/webback/thinkphp/thinkphp-kuai-su-kua-ku-cao-zuo | 山猫的博客

该日志由 admin 于2015年10月30日发表在 thinkphp 分类下,
原创文章转载请注明: THINkphp 快速夸库操作 | 山猫的博客