您的位置:首页 > 编程语言 > PHP开发

PHP 常用函数

2012-03-16 08:34 183 查看
/验证邮箱
function check_emailformat($email) {
return strlen($email) > 6 && preg_match("/^[\w\-\.]+@[\w\-\.]+(\.\w+)+$/", $email);
}

select * from joy_forum_forum as f where f.type='sub' and f.group_type=3 and sex_type = 2 and f.tag REGEXP '[\w\s,]?(29|30|14)[\w\s,]?'
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: