教你如何写thinkphp多表查询语句
摘要:
1、table()函数 thinkphp中提供了一个table()函数,具体用法参考以下语句: $list=$Demo->table('think_blog blog,think_type type')->where('blog.typeid=type.id')->field('blog.id as 阅读全文
posted @ 2016-04-07 10:05 HOT SUMMER 阅读(754) 评论(1) 推荐(0)
浙公网安备 33010602011771号