摘要: if条件判断中,0,NULL,''都是false session方法 session('_userID', $userInfo['userID']); //切换数据库 $infoClass = M()-db(1,C('DB_CONFIG_SYN'))-table('syn_userinfo'); //字符串替换 输出:Hello World //编码转换 $content = iconv("utf-8","gb2312//IGNORE",$content); 阅读全文
posted @ 2015-03-09 18:32 log8 阅读(473) 评论(0) 推荐(0) 编辑