摘要:
class sqlHelper{ private $conn; private $host = 'localhost'; private $user = 'root'; private $pwd = 'root'; private $db; public function __construct($ 阅读全文
posted @ 2016-07-20 18:20
wanzij
阅读(357)
评论(0)
推荐(0)
摘要:
给定省市地区数组如下: $area = array( array('id'=>1,'name'=>'安徽','parent'=>'0'), array('id'=>2,'name'=>'海淀','parent'=>'7'), array('id'=>3,'name'=>'濉溪县','parent'= 阅读全文
posted @ 2016-07-20 16:54
wanzij
阅读(1252)
评论(0)
推荐(1)
摘要:
方法一代码: path = './a/b/c/d/e/f'; $path_arr = explode('/',$path);//得到数组array('.','a','b','c','d','e','f'); for($i=0;$i<count($path_arr);$i++){ static $di 阅读全文
posted @ 2016-07-20 00:57
wanzij
阅读(688)
评论(0)
推荐(0)

浙公网安备 33010602011771号