摘要:508982 08,07,01,03,04,09,05,10,06,02 2015-08-31 17:17 508981 02,03,06,04,10,05,09,01,08,07 2015...
阅读全文
摘要:public_method(); }};echo get_class(A::get_self()); //Aecho get_class(A::get_static()); //Aecho get_class(B::get_self()); //Aecho get_class(B...
阅读全文
摘要:转自:http://witmax.cn/extjs-cookie-theme-lang.html使用Cookie:123Ext.state.Manager.setProvider(new Ext.state.CookieProvider());Ext.state.Manager.set("key",...
阅读全文
摘要:http://kuyur.info/blog/archives/2490http://blog.chinaunix.net/uid-28661623-id-3779637.htmlhttp://blog.csdn.net/shadowkiss/article/details/7572396http:...
阅读全文
摘要:************";try{ $data = simplexml_load_string($content) or die('unable to load xml');}catch(Excetion $e){ print_r($e->getMessage());}if(isset($data...
阅读全文
摘要:转自:http://www.smsyun.com/home-index-page-id-284.html一、什么是CURL?cURL 是一个利用URL语法规定来传输文件和数据的工具,支持很多协议,如HTTP、FTP、TELNET等。最爽的是,PHP也支持 cURL 库。使用PHP的cURL库可以简单...
阅读全文
摘要:http://stackoverflow.com/questions/14359658/get-xml-attribute-using-simplexml-load-string问:I am using a few third party APIs which returns errors via ...
阅读全文
摘要:转自:http://www.cnblogs.com/smallmuda/archive/2010/10/12/1848700.html感谢作者分享工作中需要用php调用web service接口,对php不熟,上网搜搜,发现关于用php调用web service的文章也不多,不少还是php4里用nu...
阅读全文
摘要:http://www.dewen.io/q/4996/%E8%AE%BE%E8%AE%A1%E8%A7%92%E8%89%B2%E7%8A%B6%E6%80%81%E6%9D%83%E9%99%90%E6%8E%A7%E5%88%B6%E9%97%AE%E9%A2%98问:extjs中,模块包含菜单...
阅读全文
摘要:select count(*) from (select field2,count(field2) from bsgj.table1 group by field,items_id having(count(field2)>1)) as tmpwhere field2=43月份以来下单超过两单的收货...
阅读全文
摘要:保留小数点select truncate(field1,2) from table1field3 字段类型为decimal(20,3)
阅读全文
摘要:如果你有 apk 文件 想 运行一下看看 ,但是又没有 android 设备 ,那么 genymotion 将会是一个 很好的解决方案。1、安装下载链接: https://cloud.genymotion.com/page/launchpad/download/ 下载之前 需要在 官网上 注册一个 ...
阅读全文
摘要:SELECT * FROM tablename where field1=2 and find_in_set(70,field2) ORDER BY `id` DESCfield2 里某条记录为 70,71,72,73会被找到,保存的值结构为逗号分隔
阅读全文
摘要:select * from tablename where substring_index(field1,'_',-1)=‘abc'#表中field1的值结构为123_abc
阅读全文
摘要:update tablename set field1=concat(field1,'_bak') where field2 like '%@xxx’
阅读全文
摘要:http://www.cnblogs.com/phpdragon/archive/2012/06/10/2544171.htmlhttp://jeffxie.blog.51cto.com/1365360/1083104/http://blog.sina.com.cn/s/blog_550ffb0b0...
阅读全文