摘要: 1、正则分析法function getQueryString(name) { var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i"); var r = window.location.search.substr(1).mat... 阅读全文
posted @ 2014-11-01 23:47 kedarui 阅读(234) 评论(0) 推荐(0) 编辑
摘要: 实例:1,http://localhost/aaa/(打开aaa中的index.php)结果:$_SERVER['QUERY_STRING'] = "";$_SERVER['REQUEST_URI']= "/aaa/";$_SERVER['SCRIPT_NAME']= "/aaa/index.php... 阅读全文
posted @ 2014-11-01 22:21 kedarui 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 1、存储过程http://jingyan.baidu.com/article/9f7e7ec05954d46f281554a5.html2、函数http://jingyan.baidu.com/article/4ae03de31a09893eff9e6bad.html 阅读全文
posted @ 2014-11-01 20:42 kedarui 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 第一层用 "第二层用 \"第三层用 '" 阅读全文
posted @ 2014-11-01 17:42 kedarui 阅读(153) 评论(0) 推荐(0) 编辑
摘要: 1、去掉easyui-tabs类属性,改为id=tabs2、用js控制高度 阅读全文
posted @ 2014-11-01 17:28 kedarui 阅读(4527) 评论(0) 推荐(0) 编辑
摘要: rowformater方法可以扩展自定义列:The cell formatter function, take three parameters:value: the field value.rowData: the row record data.rowIndex: the row index.C... 阅读全文
posted @ 2014-11-01 17:09 kedarui 阅读(197) 评论(0) 推荐(0) 编辑
摘要: 获取当前日期:now()添加外键:ALTER TABLE 表名 ADD FOREIGN KEY (字段名) REFERENCES 表名(字段名) 阅读全文
posted @ 2014-11-01 16:26 kedarui 阅读(80) 评论(0) 推荐(0) 编辑