摘要: 1 function request(paras){ 2 var url = location.href; 3 var paraString = url.substring(url.indexOf("?")+1,url.length).split("&"); 4 ... 阅读全文
posted @ 2014-08-27 15:16 维生素丶M 阅读(297) 评论(1) 推荐(0) 编辑
摘要: table { border-collapse: collapse; border: none; width: 200px; } td { border: solid #000 1px; } 阅读全文
posted @ 2014-08-21 15:59 维生素丶M 阅读(245) 评论(0) 推荐(0) 编辑
摘要: date('Y-m-d H:i:s',time()); 阅读全文
posted @ 2014-08-20 17:32 维生素丶M 阅读(1191) 评论(0) 推荐(0) 编辑
摘要: MYSQL 获取当前日期及日期格式获取系统日期:NOW()格式化日期:DATE_FORMAT(date, format)注: date:时间字段format:日期格式返回系统日期,输出 2009-12-25 14:38:59select now();输出 09-12-25select date_fo... 阅读全文
posted @ 2014-08-20 17:22 维生素丶M 阅读(4487) 评论(0) 推荐(0) 编辑
摘要: select from_unixtime(1350437720);select unix_timestamp(now());插入用 unix_timestamp(date)查询用from_unixtime(int) 阅读全文
posted @ 2014-08-20 17:10 维生素丶M 阅读(1746) 评论(0) 推荐(0) 编辑