摘要: position属性相对定位是“相对于“元素在文档流中初始位置的,而绝对定位是”相对于“最近的已经定位的祖先元素{vo[title]}{vo[title]|substr=0,7,'utf-8',true}if(strpos($gusername,'@')!==false&&strpos($guser... 阅读全文
posted @ 2015-12-15 17:58 log8 阅读(232) 评论(0) 推荐(0) 编辑
摘要: span是行内元素,div是块元素,另起一行显示,也可以通过设置style是inline,block相互转化 阅读全文
posted @ 2015-12-04 19:56 log8 阅读(111) 评论(0) 推荐(0) 编辑
摘要: jquery的validate检验,提示在input后面,输入一次改变一次class 阅读全文
posted @ 2015-11-26 20:24 log8 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 根据输入的起止日期判断天数,strtotime,数据的去重和array_keys,array_values函数 阅读全文
posted @ 2015-11-13 18:42 log8 阅读(118) 评论(0) 推荐(0) 编辑
摘要: Want to run your existing windows software ? You 'll have to toggle back to that desktop.如果你想运行现在的软件,那么不得不切换到原来的桌面。They always seem to hover over thei... 阅读全文
posted @ 2015-05-26 18:19 log8 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 除了按id,css获取外,还有$('body>input').val(12);$('input').val(123);$("input[type='Input']").val(1234); }); 1111111111111 阅读全文
posted @ 2015-05-26 18:16 log8 阅读(2543) 评论(0) 推荐(0) 编辑
摘要: if条件判断中,0,NULL,''都是false session方法 session('_userID', $userInfo['userID']); //切换数据库 $infoClass = M()-db(1,C('DB_CONFIG_SYN'))-table('syn_userinfo'); //字符串替换 输出:Hello World //编码转换 $content = iconv("utf-8","gb2312//IGNORE",$content); 阅读全文
posted @ 2015-03-09 18:32 log8 阅读(473) 评论(0) 推荐(0) 编辑
摘要: php单字母函数 阅读全文
posted @ 2015-03-06 18:30 log8 阅读(184) 评论(0) 推荐(0) 编辑
摘要: win7下安装cs_sql_2005_dev_all_dvd.iso,企业版不行 备份远程数据库,用命令本地还原 从PHP5.3开始,连接SQLServer不支持之前PHP_MSSQL.dll扩展了,所以只能到微软网站下载驱动The SQL Server Driver for PHP 把解压后的dll拷贝到php/ext目录下,然后修改php.ini里面的extension和extension_dir 安装odbc驱动 阅读全文
posted @ 2015-03-05 18:22 log8 阅读(155) 评论(0) 推荐(0) 编辑
摘要: post的4个参数和ajaxReturn方法 阅读全文
posted @ 2015-03-02 18:30 log8 阅读(192) 评论(0) 推荐(0) 编辑