上一页 1 ··· 76 77 78 79 80 81 82 83 84 ··· 98 下一页
摘要: html5 svg实现不规则形状图片触发事件<pre><!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title></head> <body><svg xmlns="http://www.w 阅读全文
posted @ 2019-11-14 12:46 newmiracle宇宙 阅读(1467) 评论(0) 推荐(0)
摘要: php imagick设置图片圆角的方法 <pre>header('Content-Type: image/png'); $image = new Imagick('http://static.codeweblog.com/uploads/user/29/58387_100.jpg');$image 阅读全文
posted @ 2019-11-14 12:46 newmiracle宇宙 阅读(1345) 评论(0) 推荐(0)
摘要: mysql group by分组查询后 查询个数2个方法随便你选 <pre>select count(distinct colA) from table1;</pre><pre>select count(*) from (select colA from table1 group by colA) 阅读全文
posted @ 2019-11-14 12:45 newmiracle宇宙 阅读(3305) 评论(0) 推荐(1)
摘要: php imagick svg转成jpg <pre> public function svgtojpg() { $image = '<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" 阅读全文
posted @ 2019-11-14 12:45 newmiracle宇宙 阅读(881) 评论(0) 推荐(0)
摘要: svg自适应写法<pre><!DOCTYPE html><html lang="en"> <head> <meta charset="UTF-8"> <title>Document</title></head> <body> <div style="width:30%; height:3.6rem; 阅读全文
posted @ 2019-11-14 12:45 newmiracle宇宙 阅读(4970) 评论(0) 推荐(0)
摘要: php debug_backtrace方法跟踪代码调用<pre>function string 当前的函数名,参见: __FUNCTION__。line integer 当前的行号。参见: __LINE__。file string 当前的文件名。参见: __FILE__。class string 当 阅读全文
posted @ 2019-11-14 12:43 newmiracle宇宙 阅读(289) 评论(0) 推荐(0)
摘要: jquery 数字滚动方法用的是countUp.js这个插件 target = 目标元素的 ID;startVal = 开始值;endVal = 结束值;decimals = 小数位数,默认值是0;duration = 动画延迟秒数,默认值是2; 1先初始化 <pre> var options = 阅读全文
posted @ 2019-11-14 12:43 newmiracle宇宙 阅读(607) 评论(0) 推荐(0)
摘要: mysql select自增变量(包括读取当前第几行) SET @rownum =0;select id,@rownum := @rownum +1 as i from ceshi order by dd desc,id desc; 变量是直接输出在结果集的 SET @rownum =0; @row 阅读全文
posted @ 2019-11-14 12:42 newmiracle宇宙 阅读(2362) 评论(0) 推荐(0)
摘要: php imagick蒙版做法<pre> $image = new \Imagick(); $image->readImage(__DIR__ . '/mengban.png'); $watermark = new \Imagick(); $watermark->readImage(__DIR__ 阅读全文
posted @ 2019-11-14 12:41 newmiracle宇宙 阅读(473) 评论(0) 推荐(0)
摘要: mysql update获取主键<pre>SET @update_id := 0;UPDATE mobantestinfo1 SET info2 = 'value', id = (SELECT @update_id := id)WHERE info1 = '23a' LIMIT 1; SELECT 阅读全文
posted @ 2019-11-14 12:41 newmiracle宇宙 阅读(1513) 评论(0) 推荐(0)
上一页 1 ··· 76 77 78 79 80 81 82 83 84 ··· 98 下一页