09 2013 档案
摘要:2013年9月13日 14:58:43 MYSQL的varchar数据类型 先说结论: 如果设置字段长度为30,字符编码为utf8,那么一个汉字算一个字符,一个数字算一个字符,一个字母也算一个字符 版本号: 测试表 插入数据: 结果: select a,char_length(a),length(a
阅读全文
摘要:2013年9月10日 16:26:25echo strtotime('now'),'';echo strtotime('today'),'';echo strtotime('tomorrow'),'';echo strtotime('yesterday'),'';--------------------------------------今天剩余的秒数:$time_remain =strtotime('tomorrow') - time();
阅读全文
摘要:2013年9月10日 15:44:36update `zzb_table` set status = 1 where `link` != '';不要用update `zzb_table` set status = 1 where `link` is not null;
阅读全文