- 博客(4)
- 收藏
- 关注
原创 canvas 做商品二维码分享图片
效果图先走一波##注意,使用了QRcoder.js 生成二维码//以下是框架模板语言,可以自己换成 原生php{$content = "[仅差";}{$content .= $groupbuylist->personrequired - $groupbuylist->personqty;}{$content .= "人] [";}{$content .= $product-...
2019-08-09 11:47:18
170
原创 mysql 多条件模糊查询
SELECT *FROM `eps_product`WHERE ((`name` LIKE '%3419%'OR `desc` LIKE '%3419%')AND (`name` LIKE '%显示器'OR `desc` LIKE '%显示器%'))LIMIT 0 , 30
2019-07-12 18:52:51
2805
原创 获取select标签多选中选中的值
//objSelect select标签对象 //返回 选中的值 arrayfunction getAllItemValuesByString(objSelect) { var selectItemsValuesArr = []; if (null != objSelect && typeof(objSelect) != "undefined") { ...
2019-07-10 16:57:35
546
翻译 curl 模拟表单 提交数据
```//模拟表单提交public function doRequest($url, $data, $timeoutMs = 3000){$ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); cu...
2019-07-05 15:07:46
254
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人