摘要: 启动xampp: /opt/lampp/./lampp start 停止xampp: /opt/lampp/./lampp stop 卸载xampp: rm -rf /opt/lampp 阅读全文
posted @ 2018-11-27 00:04 泡椒味的不二家 阅读(1132) 评论(0) 推荐(0) 编辑
摘要: 解决方案,在php.ini中的xdebug中加一行代码:xdebug.overload_var_dump=1 阅读全文
posted @ 2018-11-24 18:04 泡椒味的不二家 阅读(172) 评论(0) 推荐(0) 编辑
摘要: TP5的EXP、批量查询、聚合查询等。 作者:Ferre666 来源:CSDN 原文:https://blog.csdn.net/Ferre666/article/details/73636586 阅读全文
posted @ 2018-11-22 15:19 泡椒味的不二家 阅读(374) 评论(0) 推荐(0) 编辑
摘要: array_unique() 定义和用法 array_unique() 函数移除数组中的重复的值,并返回结果数组。 当几个数组元素的值相等时,只保留第一个元素,其他的元素被删除。 返回的数组中键名不变。 语法 array_unique(array) 参数 描述 array 必需。规定输入的数组。 说 阅读全文
posted @ 2018-11-22 15:16 泡椒味的不二家 阅读(879) 评论(0) 推荐(0) 编辑
摘要: 今天在测试php程序的时候,出现了一个错误提示:Cannot use a scalar value as an array,这个错误提示前几天也出过,当时好像稍微调了一下就好了,也没深究,今天却又出现了。 不能再糊弄了,得找出原因和解决办法,于是我就去网上搜啊找啊,找了很久都没找到结果,不是网上搜不 阅读全文
posted @ 2018-11-22 15:03 泡椒味的不二家 阅读(4215) 评论(0) 推荐(0) 编辑
摘要: 转载 原地址:https://www.tongpankt.com/7286 1 <?php 2 /** 3 * 抢购的处理逻辑 4 */ 5 6 include 'init.php'; 7 8 $TEMPLATE['type'] = 'buy'; 9 $TEMPLATE['pageTitle'] = 阅读全文
posted @ 2018-11-21 12:02 泡椒味的不二家 阅读(456) 评论(0) 推荐(0) 编辑
摘要: 1 <?php 2 /** 3 * 我的购物车 4 */ 5 6 include 'init.php'; 7 8 $TEMPLATE['type'] = 'cart'; 9 $TEMPLATE['pageTitle'] = '我的购物车'; 10 11 $carts_list = $goods_li 阅读全文
posted @ 2018-11-21 11:50 泡椒味的不二家 阅读(341) 评论(0) 推荐(0) 编辑