05 2016 档案

摘要:所以遇到下拉框默认选择的情况,用php写比较方便一些 阅读全文
posted @ 2016-05-26 11:29 fleam 阅读(235) 评论(0) 推荐(0) 编辑
摘要:"; } ?> 阅读全文
posted @ 2016-05-24 14:49 fleam 阅读(130) 评论(0) 推荐(0) 编辑
摘要:php代码(页面代码非cmd命令脚本) vb代码 效果 http://bbs.csdn.net/topics/390614319 阅读全文
posted @ 2016-05-24 14:44 fleam 阅读(418) 评论(0) 推荐(0) 编辑
摘要:$array=explode(separator,$string); $string=implode(glue,$array); 阅读全文
posted @ 2016-05-17 16:24 fleam 阅读(140) 评论(0) 推荐(0) 编辑
摘要:$value){ if(!array_key_exists($key, $a)){ $a[$key]=$value; } } //计算键名相同的数组元素的和,并且替换原数组中相同键名所对应的元素值 foreach($arr as $key=>$value){ $a[$key]=$a[$key]+$b[$key]; } //返回相加后的数组 return $a; } $a ... 阅读全文
posted @ 2016-05-17 10:37 fleam 阅读(776) 评论(0) 推荐(0) 编辑
摘要:my.ini 重启mysql 查看日志 阅读全文
posted @ 2016-05-15 18:26 fleam 阅读(427) 评论(0) 推荐(0) 编辑
摘要:随机抽取幸运码 销毁幸运码 更新码库 阅读全文
posted @ 2016-05-15 18:23 fleam 阅读(312) 评论(0) 推荐(0) 编辑
摘要:第一步 创建以下两个 日志表 按 Ctrl+C 复制代码 按 Ctrl+C 复制代码 第二步 在数据库上开启 查询日志 第三步 查询日志 第四步 在数据库上关闭 查询日志 第五步 清除数据库 日志 http://blog.csdn.net/testcs_dn/article/details/1879 阅读全文
posted @ 2016-05-14 16:55 fleam 阅读(669) 评论(0) 推荐(0) 编辑
摘要:用法:$this->add_colum('db_self'); 批量建立完字段后,注释掉此方法 阅读全文
posted @ 2016-05-12 09:59 fleam 阅读(288) 评论(0) 推荐(0) 编辑