10 2015 档案

摘要:一个二维数组如下 $listArray( [0] => Array( [article_id] => 272 [attachment] => 1222.txt [article_name] => 测试分类类目 ... 阅读全文
posted @ 2015-10-27 11:01 MayBel 阅读(703) 评论(0) 推荐(1) 编辑
摘要:使用iconv 将utf-8转换成gb2312即可$name=iconv("utf-8","gb2312",'分销商下载课件记录'); 阅读全文
posted @ 2015-10-21 16:30 MayBel 阅读(161) 评论(0) 推荐(0) 编辑
摘要:/* *过滤数组中title的数据,其他不变 *$list为二维数组 Array( [0]=>Array( [id]=>242 [location]=>2 [type]=>4 ) [1]=>Array( [id]=>242 [lo... 阅读全文
posted @ 2015-10-14 16:09 MayBel 阅读(336) 评论(0) 推荐(0) 编辑
摘要:$start=microtime(TRUE); //记录开始时间echo'wastetime(s):',microtime(TRUE)-$start,PHP_EOL;exit; //开始时间减去结束时间的结果var_dump(memory_get_usage()); //查看内存使用情况 阅读全文
posted @ 2015-10-14 15:04 MayBel 阅读(189) 评论(0) 推荐(0) 编辑
摘要:$dp_id=$this->getParam('dpId');if(!empty($this->getParam('dpId'))){ $this->smarty->assign('developer',get_developers($this->getParam('dpId'))); }以... 阅读全文
posted @ 2015-10-08 14:34 MayBel 阅读(1125) 评论(0) 推荐(0) 编辑