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