02 2015 档案

摘要:",">",$note); $note = preg_replace("/[ ]{1,}/isu"," ",$note); echo getsubstr($note,100); ?> 阅读全文
posted @ 2015-02-28 18:08 jshaibozhong 阅读(523) 评论(0) 推荐(0)
摘要:1 "; 6 7 echo "今天:",date("Y-m-d",strtotime("18 june 2008")),""; 8 9 echo "昨天:",date("Y-m-d",strtotime("-1 day")), "";10 11 echo "明天:",date("Y-m-d",... 阅读全文
posted @ 2015-02-17 12:59 jshaibozhong 阅读(11144) 评论(0) 推荐(0)
摘要:类如 有一个帖子的回复表,posts( id , tid , subject , message , dateline ) ,id 为 自动增长字段, tid为该回复的主题帖子的id(外键关联), subject 为回复标题, message 为回复内容, dateline 为回复时间,用UNI... 阅读全文
posted @ 2015-02-16 17:03 jshaibozhong 阅读(15601) 评论(1) 推荐(0)
摘要:获取UNIX时间戳 : UNIX_TIMESTAMP(NOW())1.1 获得当前日期+时间(date + time)函数:now()除了 now() 函数能获得当前的日期时间外,MySQL 中还有下面的函数:current_timestamp() current_timestamplocalt... 阅读全文
posted @ 2015-02-12 20:38 jshaibozhong 阅读(2430) 评论(0) 推荐(0)
摘要:所属医院: "/> 阅读全文
posted @ 2015-02-12 19:31 jshaibozhong 阅读(255) 评论(0) 推荐(0)
摘要:1、数据库连接配置页面:connectvars.php2、登录页面:logIn.php Mismatch - Log In Msimatch - Log In '.$error_msg.''; ... 阅读全文
posted @ 2015-02-12 11:37 jshaibozhong 阅读(414) 评论(0) 推荐(0)
摘要:update table2 b,(select b.area_id as arid,sum(a.user_amount) as bcountfrom table1 a,table2 bwhere a.user_area=b.area_idgroup by arid) cset b.count=c.b... 阅读全文
posted @ 2015-02-11 20:46 jshaibozhong 阅读(1077) 评论(0) 推荐(0)