04 2018 档案

摘要:localStorage. 阅读全文
posted @ 2018-04-27 16:26 MiraclesGG 阅读(1662) 评论(0) 推荐(0)
摘要:设置数据: arr = [1,2,3,4,5,6,7,8,9]; localStorage.setItem('array', JSON.stringify(arr)); 取出数据: localStorage.getItem('array'); 实例: 添加数据保存后,提交到LocalStorage储 阅读全文
posted @ 2018-04-27 15:56 MiraclesGG 阅读(1369) 评论(0) 推荐(0)
摘要:Document 阅读全文
posted @ 2018-04-27 11:45 MiraclesGG 阅读(337) 评论(0) 推荐(0)
摘要:JavaScript代码: HTML: CSS: 阅读全文
posted @ 2018-04-13 08:07 MiraclesGG 阅读(265) 评论(0) 推荐(0)
摘要:_host = $host; $this->_user = $user; $this->_pwd = $pwd; $this->_dbname = $dbname; $this->_connect(); } /* @@ connection db pa... 阅读全文
posted @ 2018-04-11 11:28 MiraclesGG 阅读(1241) 评论(0) 推荐(0)
摘要:首先使用php -m 可以查看到自己安装了那些扩展。 1、使用wget下载redis压缩包 wget https://github.com/phpredis/phpredis/archive/develop.zip 2、解压develop.zip unzip develop.zip 3、进入解压后的 阅读全文
posted @ 2018-04-07 08:23 MiraclesGG 阅读(856) 评论(0) 推荐(0)
摘要:JavaScript实现倒计时,主要是思路,代码都有加注释: html代码: 阅读全文
posted @ 2018-04-03 10:18 MiraclesGG 阅读(153) 评论(0) 推荐(0)