摘要: 1 /***** 部门选择下拉框字典2 *****/ 2 function buMen2(){ 3 $department =M('department');//部门表 4 $org_code =$this->organization_code; 5 $where['org_code'] = $org_code; 6 7 ... 阅读全文
posted @ 2018-04-26 17:49 人在征途1 阅读(91) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2017-12-14 11:18 人在征途1 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 1 function creatcsv($filename,$array) 2 { 3 @ini_set('display_errors', 0); 4 header("Content-Disposition: attachment; filename=$filename.csv"); 5 header("Conte... 阅读全文
posted @ 2017-12-07 13:52 人在征途1 阅读(315) 评论(0) 推荐(0) 编辑
摘要: JSON-Handle 官网下载地址:http://jsonhandle.sinaapp.com/ 谷歌打开此页面(拖拽文件到谷歌即可安装):chrome://extensions/ 阅读全文
posted @ 2017-11-28 12:08 人在征途1 阅读(200) 评论(0) 推荐(0) 编辑
摘要: 1 file_put_contents($path,$content.PHP_EOL,FILE_APPEND); //追加写文件 阅读全文
posted @ 2017-11-22 10:44 人在征途1 阅读(438) 评论(0) 推荐(0) 编辑
摘要: 1 例:{dede:field name='phpurl'}/count.php 阅读全文
posted @ 2017-11-10 11:56 人在征途1 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2017-11-10 10:41 人在征途1 阅读(146) 评论(0) 推荐(0) 编辑
摘要: global $ac; //dede提供的全局archives类对象,该对象可取出内容页所有字段信息 $ac->Fields['title'] //例:就取出了这个内容页的对应文章标题 阅读全文
posted @ 2017-11-10 09:29 人在征途1 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 1 <<<HTML(这后面不准有空格) 2 3 填写html代码...{$str}dddd......... 4 5 HTML; 6 7 (str被大括号包裹,就能变量使用) 阅读全文
posted @ 2017-11-08 18:17 人在征途1 阅读(623) 评论(0) 推荐(0) 编辑
摘要: *{ margin:0; padding:0;}html{ font-size:62.5%;/*之后字体14px,为1.4rem*/ }img{ max-width:100%; border:0; }object,embed{ max-width:100%; }.container{ width:1 阅读全文
posted @ 2017-11-02 18:13 人在征途1 阅读(275) 评论(0) 推荐(0) 编辑