摘要: 购物车 商品名称 商品价格 商品数量 商品操作 中裤衩 ¥300 100 减 1 ... 阅读全文
posted @ 2017-09-05 19:50 Harry- 阅读(976) 评论(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- 阅读(397) 评论(0) 推荐(0) 编辑
摘要: 购物车 商品名称 商品单价 商品数量 总价 iphone 6s 1.10 5 ... 阅读全文
posted @ 2017-09-05 19:45 Harry- 阅读(4418) 评论(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- 阅读(191) 评论(0) 推荐(0) 编辑
摘要: <img src="图片地址" onerror="this.src='默认图片地址'" /> 阅读全文
posted @ 2017-09-05 19:34 Harry- 阅读(166) 评论(0) 推荐(0) 编辑
摘要: 一、数组操作的基本函数数组的键名和值array_values($arr);获得数组的值array_keys($arr);获得数组的键名array_flip($arr);数组中的值与键名互换(如果有重复前面的会被后面的覆盖)in_array("apple",$arr);在数组中检索applearray 阅读全文
posted @ 2017-09-05 19:31 Harry- 阅读(194) 评论(0) 推荐(0) 编辑