1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//获取指定分类的所有子分类ID号 function getAllChildcateIds( $categoryID ) { //初始化ID数组 $array [] = $categoryID ; do { $ids = '' ; $where [ 'pid' ] = array ( 'in' , $categoryID ); $cate = M( 'cate' )->where( $where )->select(); foreach ( $cate as $k => $v ) {
上一篇:msxml3.dll 错误 '800c0008' 指定资源下载失败?? 下一篇:asp数据强制转换的方法 讨论数量:1 天涯网魂 3 杠 5 星2016-06-26 10:33:05源文:http://www.cnblogs.com/leisir/articles/3840901.html
|