mysql_query("insert into user(name, age, class) values('王二', 19, '高三五班')");执行不了,
2017-03-30
$subject = "my email is spark@imooc.com";
//在这里补充代码,实现正则匹配,并输出邮箱地址
$p='/\w+\@\w+\.\w+/';
preg_match($p,$subject,$matches);
print_r($matches);
//在这里补充代码,实现正则匹配,并输出邮箱地址
$p='/\w+\@\w+\.\w+/';
preg_match($p,$subject,$matches);
print_r($matches);
2017-03-29