//在这里更新id为$id的行的名字为李白
$sql = "update user set name='李白' where id=$id";
mysql_query($sql);
这你都能通过,无法直视你的双眸。下一节吧
$sql = "update user set name='李白' where id=$id";
mysql_query($sql);
这你都能通过,无法直视你的双眸。下一节吧
2017-04-27
<?php
$subject = "my email is spark@imooc.com";
//在这里补充代码,实现正则匹配,并输出邮箱地址
$pattern = '/s(.+)/is';
preg_match($pattern,$subject,$matches);
print_r( $matches[1]);
错了?
$subject = "my email is spark@imooc.com";
//在这里补充代码,实现正则匹配,并输出邮箱地址
$pattern = '/s(.+)/is';
preg_match($pattern,$subject,$matches);
print_r( $matches[1]);
错了?
2017-04-27