上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 98 下一页
摘要: svg描边路径动画<pre><!DOCTYPE html><html> <head> <meta charset="UTF-8"> <style> html,body{ width:100%; height:100%; } /*1000是线条(path)的长度 stroke-dasharray和st 阅读全文
posted @ 2019-11-17 15:36 newmiracle宇宙 阅读(317) 评论(0) 推荐(0)
摘要: mysql count的理解 1 select count(tel) as telcount from info;如果tel列有null 将不会被统计进去 2 count(*) 这样写性能更好 3 MYISAM引擎 只有当没有where的时候 count(*) 查询才会达到神一样的速度!!看下面例子 阅读全文
posted @ 2019-11-17 12:43 newmiracle宇宙 阅读(179) 评论(0) 推荐(0)
摘要: php explode容易犯的错误 <pre> $pos = strpos($v, 'Controller'); if (is_numeric($pos)) { $kongzhiqifege = explode('Controller', $v); $kongzhiqi = $kongzhiqife 阅读全文
posted @ 2019-11-17 12:43 newmiracle宇宙 阅读(401) 评论(0) 推荐(0)
摘要: mysql float类型详解float类型长度必须设置3以上 不然会报错 out of range如果设置3 就只是 整数+小数的长度 比方说3.23 3.2等等 3.333就不行了 4位了 阅读全文
posted @ 2019-11-17 12:41 newmiracle宇宙 阅读(721) 评论(0) 推荐(0)
摘要: mysql 5 以后 都按照字符来算 不是字节 char(10)可以放10个汉字或者10个字母 阅读全文
posted @ 2019-11-17 12:41 newmiracle宇宙 阅读(132) 评论(0) 推荐(0)
摘要: MySql计数器,如网站点击数,如何实现高性能高并发的计数器功能 由于并发的时候 不能同时写入一行数据 所以要分开写<pre>先创建表CREATE TABLE `article_view`( `article_id` int(11) NOT NULL, `pond` tinyint(4) NOT N 阅读全文
posted @ 2019-11-17 12:40 newmiracle宇宙 阅读(205) 评论(0) 推荐(0)
摘要: <pre><svg width="100%" height="100%" version="1.1" xmlns="http://www.w3.org/2000/svg"> <path d="M73 65 L210 869 L415 339"/> </svg></pre> 3个点围成三角形 阅读全文
posted @ 2019-11-17 12:39 newmiracle宇宙 阅读(191) 评论(0) 推荐(0)
摘要: 比较简单的倒影效果 <pre><div class="box-reflect"><img src="https://www.baidu.com/img/bd_logo1.png" alt="" height="200"/></div> .box-reflect { margin: 210px aut 阅读全文
posted @ 2019-11-17 12:39 newmiracle宇宙 阅读(116) 评论(0) 推荐(0)
摘要: nginx rewrite重写规则简明笔记 比方说http://newmiracle.cn/?p=888我要改成能这个访问http://newmiracle.cn/p888/ 首先用正则获取888 ^p([0-9]*)/$ 然后 <pre> location / { root /home/www/w 阅读全文
posted @ 2019-11-17 12:38 newmiracle宇宙 阅读(141) 评论(0) 推荐(0)
摘要: navcat搜索字符串方法右键点击数据库 查找字符串即可。。 阅读全文
posted @ 2019-11-17 12:38 newmiracle宇宙 阅读(171) 评论(0) 推荐(0)
上一页 1 ··· 45 46 47 48 49 50 51 52 53 ··· 98 下一页