会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
笑月儿
即使是不成熟的尝试,也胜于胎死腹中的策略。
CnBlogs
Home
New Post
Contact
Admin
Subscription
上一页
1
2
3
4
5
6
7
8
9
10
下一页
2014年12月22日
js方法参数默认值设置
这里的默认值设置 很容易以为和php相似 function(v1,v2="test"){ alert(v2);}但这样是不对的,js方法,如需传参,甚至可以不用预定义(也就是无需在定义函数的括号中写入参数名称),js函数中有个储存参数的数组arguments,所有函数获得的参数会被编译器挨个保存到...
Read More
posted @ 2014-12-22 14:49 笑月儿
Views(1587)
Comments(0)
Diggs(0)
2014年12月19日
mysql 数据库授权
1: GRANT ALL PRIVILEGES ON share_db.* to 'db_user'@'%' IDENTIFIED BY 'db_user';2:FLUSH PRIVILEGES;
Read More
posted @ 2014-12-19 18:11 笑月儿
Views(131)
Comments(0)
Diggs(0)
2014年12月16日
如何查看mysql版本
查到大概有5种,5.6.20就是版本号1:在终端下:mysql -V。 以下是代码片段:2:在mysql中:mysql> status;以下是代码片段:3:在help里面查找,以下是代码片段:4:使用mysql的函数,以下是代码片段:5.进入mysql时查看,以下是代码片段:
Read More
posted @ 2014-12-16 16:55 笑月儿
Views(313)
Comments(0)
Diggs(0)
2014年12月11日
windows下memcache安装及配置
1.安装memcached服务,链接为http://i.cnblogs.com/Files.aspx, 下载解压后放在一个文件夹下,在开始搜索中输入cmd, 进入cmd黑框,cd 路径,进入memcached路径下,输入: memcached.exe -d install ,安装 ...
Read More
posted @ 2014-12-11 21:24 笑月儿
Views(1536)
Comments(0)
Diggs(0)
2014年12月9日
js的执行顺序
js是顺序执行的,但是在一个标签中,后面的函数会预加载。如:输出为 houhou如果是这样:输出的就是 error
Read More
posted @ 2014-12-09 23:06 笑月儿
Views(214)
Comments(0)
Diggs(0)
2014年12月2日
mysql tinyint smallint mediumint int bigint
类型存储所占空间(无论显示多少位)(单位 字节/bytes)存储数据范围最大显示长度tinyint1-128 ~ 127 signed 0 ~ 255 unsigned3smaillint 2-32768 ~ 32767 signed 0 ...
Read More
posted @ 2014-12-02 16:23 笑月儿
Views(326)
Comments(0)
Diggs(0)
2014年11月25日
linux压缩解压
zip压缩文件zip -r filename.zip filesdir zip -r filename.zip file1 file2 file3 /usr/work/school //将file1 file2 file3 和/usr/work/school 压缩到filename.zi...
Read More
posted @ 2014-11-25 18:11 笑月儿
Views(173)
Comments(0)
Diggs(0)
mysql导入导出
1.导入整个库 进入数据库,source 进去的语句等同于直接连接数据库后数据的语句 或者 2.导出整个库 3.导出一个表 4.导入一个表,可以把3中导出的表 source进去 5.导出数据中dbname多张表(test1,test2,test3)结构及表数据用用空格隔开 6.dump除过table
Read More
posted @ 2014-11-25 13:23 笑月儿
Views(204)
Comments(0)
Diggs(0)
2014年11月19日
php mysql连接例子
PDO
Read More
posted @ 2014-11-19 12:05 笑月儿
Views(251)
Comments(0)
Diggs(0)
2014年11月17日
windows下安装yaf和git
不得不说win7下安装yaf比mac下安装yaf简单多了1.phpinof()看一下你的php版本。我的是php 5.4所以我选择是php_yaf-2.1.9-x86-5.4-zts-nodebug.dll ,那么有两个5.4版本的dll我们又该选择那个,还是得看phpinfo() 如果 Threa...
Read More
posted @ 2014-11-17 00:00 笑月儿
Views(1378)
Comments(0)
Diggs(0)
上一页
1
2
3
4
5
6
7
8
9
10
下一页
公告