02 2015 档案
摘要:",">",$note); $note = preg_replace("/[ ]{1,}/isu"," ",$note); echo getsubstr($note,100); ?>
阅读全文
摘要: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",...
阅读全文
摘要:类如 有一个帖子的回复表,posts( id , tid , subject , message , dateline ) ,id 为 自动增长字段, tid为该回复的主题帖子的id(外键关联), subject 为回复标题, message 为回复内容, dateline 为回复时间,用UNI...
阅读全文
摘要:获取UNIX时间戳 : UNIX_TIMESTAMP(NOW())1.1 获得当前日期+时间(date + time)函数:now()除了 now() 函数能获得当前的日期时间外,MySQL 中还有下面的函数:current_timestamp() current_timestamplocalt...
阅读全文
摘要:1、数据库连接配置页面:connectvars.php2、登录页面:logIn.php Mismatch - Log In Msimatch - Log In '.$error_msg.''; ...
阅读全文
摘要: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...
阅读全文
浙公网安备 33010602011771号