会员
周边
众包
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
yangboom
星星轨迹 * 存在即合理
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
下一页
2016年7月22日
js-表单验证
摘要: 正则表达式案例--前端检验表单2--onsubmit 用户注册 用户名: 用户...
阅读全文
posted @ 2016-07-22 20:52 wanzij
阅读(190)
评论(0)
推荐(0)
编辑
面试题01
摘要: =100 && $rip 0,'name'=>'123833'), array('id'=>0,'name'=>'aaa'), array('id'=>0,'name'=>'albabaababa'), array('id'=>0,'name'=>'12356'), array('id'=>0,'n...
阅读全文
posted @ 2016-07-22 16:55 wanzij
阅读(421)
评论(0)
推荐(0)
编辑
2016年7月21日
php-自动生成sql语句
摘要: 前两天学习到的知识,挺有用的,因此这里做个分享 function AutoCreateSql($tab,$dataarr,$mode='insert',$where=' 1 and 1 limit 1'){ //形如 insert into test(t1,t2) values('v1','v2')
阅读全文
posted @ 2016-07-21 23:54 wanzij
阅读(3277)
评论(0)
推荐(0)
编辑
PHP-无限级分类(迭代法创建)
摘要: $area = array( array('id'=>1,'name'=>'安徽','parent'=>0), array('id'=>2,'name'=>'海淀','parent'=>7), array('id'=>3,'name'=>'濉溪县','parent'=>5), array('id'=
阅读全文
posted @ 2016-07-21 23:28 wanzij
阅读(2458)
评论(0)
推荐(0)
编辑
js-使用JavaScript、jQuery两种方式实现全选/全不选
摘要: html代码 javascript: jquery:
阅读全文
posted @ 2016-07-21 02:55 wanzij
阅读(865)
评论(0)
推荐(0)
编辑
2016年7月20日
php-基于面向对象的MySQL类
摘要: 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
阅读(349)
评论(0)
推荐(0)
编辑
PHP-无限级分类
摘要: 给定省市地区数组如下: $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
阅读(1246)
评论(0)
推荐(1)
编辑
php-迭代创建级联目录
摘要: 方法一代码: 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
阅读(676)
评论(0)
推荐(0)
编辑
2016年7月18日
php-删除非空目录
摘要: function deldir($path){ if(!is_dir($path)){ return false; } $dh = opendir($path); while(($file = readdir($dh)) !== false){ if($file != '.' && $file !=
阅读全文
posted @ 2016-07-18 22:36 wanzij
阅读(723)
评论(0)
推荐(0)
编辑
php-递归创建级联目录
摘要: 方法一: function mk_dir($path_arr,$root){ if(!empty($path_arr)){ static $path;//每次保存上次调用的值 $path .= '/'.$path_arr[0]; if(!is_dir($path)){ if( mkdir($root
阅读全文
posted @ 2016-07-18 22:29 wanzij
阅读(550)
评论(0)
推荐(0)
编辑
上一页
1
···
9
10
11
12
13
14
下一页
公告
TOP