1、在php.ini文件中改动error_reporting改为:error_reporting=E_ALL & ~E_NOTICE2、如果你不能操作php.ini文件,你可以使用如下方法在你想禁止notice错误提示的页面中加入如下代码:/* Report all errors except E_...
分类:
Web程序 时间:
2014-07-01 19:20:22
阅读次数:
225
方法1:insert into A.dbo.users(field1,field2,field3) select * from B.dbo.users注:同一服务器,A和B为不同的数据库,如表中有自动标示,可先把自动标示取消,再执行。方法2:a.将数据库A中的表dbo.users复制到数据库B,需要...
分类:
数据库 时间:
2014-07-01 18:43:29
阅读次数:
204
Query.All("name", "a", "b");//通过多个元素来匹配数组 Query.And(Query.EQ("name", "a"), Query.EQ("title", "t"));//同时满足多个条件 Query....
分类:
其他好文 时间:
2014-07-01 17:48:00
阅读次数:
192
本文解决方案基于http://blog.csdn.net/zzx3q/article/details/8017794在ie7和ie8下,用jquery clone复制一个select,复制的select是本体的select初始化时的一个副本,无法复制目前本体select选择。解决方案:Insert ...
分类:
Web程序 时间:
2014-07-01 12:04:37
阅读次数:
245
一、Log4Net介绍 Log4net是基于.NET开发的一款非常著名的记录日志开源组件。它通过一套XML配置的日志引擎,将日志分不同的等级,分别是:FATAL 、 ERROR、 WARN、 INFO 、 DEBUG、ALL(允许所有的日志请求)和OFF(拒绝所有的日志请求),缺省为DEBUG,前五...
分类:
Web程序 时间:
2014-07-01 11:47:52
阅读次数:
274
原文地址:http://developer.android.com/design/wear/principles.html
本篇设计原则提供了一些关于应该怎样规划和评估你的Android Wear应用程序设计的简单思路。
Focus on not stopping the user and all else will follow(专注于不打算用户并让一切后续跟随上来)
...
分类:
移动开发 时间:
2014-07-01 11:28:20
阅读次数:
309
1.float类型
float列类型默认长度查不到结果,必须指定精度,
比如 num float, insert into table (num) values (0.12); select * from table where num=0.12的话,empty set。
num float(9,7), insert into table (num) values (0.12); selec...
分类:
数据库 时间:
2014-07-01 11:09:56
阅读次数:
308
Given an array of strings, return all groups of strings that are anagrams.
Note: All inputs will be in lower-case.
回文字符串是指: 两个字符串的字符个数完全相同,这两个字符串是Anagrams。因此Anagrams至少指俩字符串。找出字符集合中的Anagrams组。...
分类:
其他好文 时间:
2014-07-01 08:42:11
阅读次数:
250
mysql> grant all on *.* to 'root'@'192.168.1.1' identified by 'password';
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
。
确认方式(查看是否有grant all 没...
分类:
数据库 时间:
2014-07-01 07:08:47
阅读次数:
461