09 2017 档案

摘要:\r\n\r\n\r\n\r\n"; $str .="".$titlename.""; $str .= $title; foreach ($datas as $key=> $rt ) { $str .= ""; foreach ( $rt as $k => $v ) { $s... 阅读全文
posted @ 2017-09-28 16:59 Harry- 阅读(226) 评论(0) 推荐(0)
摘要:function download_img_all(){ //图片数组 $res = [ [ 'img_path'=>'a.png', ], [ 'img_path'=>'b.png', ] ]; //创建压缩包的路径 $filename = $_SERVER['D... 阅读全文
posted @ 2017-09-28 16:58 Harry- 阅读(260) 评论(0) 推荐(0)
摘要:= 1 && $fchar = -20319 && $asc = -20283 && $asc = -19775 && $asc = -19218 && $asc = -18710 && $asc = -18526 && $asc = -18239 && $asc = -17922 && $asc = -17417 && $asc = -16474 && $asc = -16212 && $as... 阅读全文
posted @ 2017-09-28 16:57 Harry- 阅读(345) 评论(0) 推荐(0)
摘要:function sousuo($page){ var URL=''; if($page){ URL='__URL__/index/usercenter/selectorder?page='+$page; }else { URL='__URL__/index/u... 阅读全文
posted @ 2017-09-14 14:58 Harry- 阅读(605) 评论(0) 推荐(0)
摘要:1 CONTENT_TYPE = { 2 .load':'text/html', 3 .123':'application/vnd.lotus-1-2-3', 4 .3ds':'image/x-3ds', 5 .3g2':'video/3gpp', 6 .3ga':'video/3gpp', 7 .3gp':'video/3gpp', 8 .3gpp... 阅读全文
posted @ 2017-09-14 14:36 Harry- 阅读(9057) 评论(0) 推荐(0)
摘要:function added(){ var data = JSON.parse(localStorage.getItem('yaop')); var yao_name = $('.yao_name').html(); var yao_cd = $('.yao_cd').html(); var yao_cl = $('.yao_cl').html(); var yao... 阅读全文
posted @ 2017-09-13 19:48 Harry- 阅读(179) 评论(0) 推荐(0)
摘要:加入数据库函数 查询单个首字母 CREATE DEFINER=`root`@`localhost` FUNCTION `fristPinyin`(P_NAME VARCHAR(255)) RETURNS varchar(255) CHARSET utf8BEGIN DECLARE V_RETURN 阅读全文
posted @ 2017-09-13 19:41 Harry- 阅读(431) 评论(0) 推荐(0)
摘要:购物车 商品名称 商品价格 商品数量 商品操作 中裤衩 ¥300 100 减 1 ... 阅读全文
posted @ 2017-09-05 19:50 Harry- 阅读(988) 评论(0) 推荐(0)
摘要:<!doctype html><html><head><meta charset="utf-8"><title>购物车</title><script src="./jquery-3.1.1.min.js"></script></head><table width="200" border="1"> 阅读全文
posted @ 2017-09-05 19:48 Harry- 阅读(414) 评论(0) 推荐(0)
摘要:购物车 商品名称 商品单价 商品数量 总价 iphone 6s 1.10 5 ... 阅读全文
posted @ 2017-09-05 19:45 Harry- 阅读(4467) 评论(0) 推荐(0)
摘要://读取文件夹下的文件并删除//简单的查看文件夹下的文件 public function read(){ $dir="data/"; $file=scandir($dir); //array_splice($file,2,1); if(count($file)>17){ unlink($dir.$fi... 阅读全文
posted @ 2017-09-05 19:38 Harry- 阅读(196) 评论(0) 推荐(0)
摘要:<img src="图片地址" onerror="this.src='默认图片地址'" /> 阅读全文
posted @ 2017-09-05 19:34 Harry- 阅读(178) 评论(0) 推荐(0)
摘要:一、数组操作的基本函数数组的键名和值array_values($arr);获得数组的值array_keys($arr);获得数组的键名array_flip($arr);数组中的值与键名互换(如果有重复前面的会被后面的覆盖)in_array("apple",$arr);在数组中检索applearray 阅读全文
posted @ 2017-09-05 19:31 Harry- 阅读(199) 评论(0) 推荐(0)