摘要: 1.根据catid 获取 栏目名称$CATEGORYS = getcache('category_content_'.$siteid,'commons');$name = {$CATEGORYS[$catid]['catname']}2.根据catid 取子栏目的catid和名称/* * 根... 阅读全文
posted @ 2014-09-03 18:32 笑笑别人 阅读(240) 评论(0) 推荐(0) 编辑
摘要: 1.多表查询 SELECT a.id,catid,thumb,title FROM v9_gamedown as a LEFT JOIN v9_gamedown_data as b ON a.id=b.id WHERE a.status=99 and b.artist="'.$artist.'" l 阅读全文
posted @ 2014-09-03 18:29 笑笑别人 阅读(560) 评论(0) 推荐(0) 编辑