![]() |
|
首页 │ Apache │ Linux│ Java│ MySQL│ 注册│帮助 | |||
相关问题
[php]你好? size=[/php]
或许还有其他英文
怎样用正则表示呢?
我写的
[php]
if(ereg("[a-zA-z0-9<>'\?#=[:space:]]+$",$desDes)){
$desDes1=trim(trim(ereg_replace("[a-zA-z0-9<>'\?#=[:space:][:blank:]]+$",'',$desDes)),'?');
//更新数据库
mysql_query("update dede_archives set description='$desDes1' where ID='$desId'");
$i++;
echo $desDes1.'
';
}[/php]
无法实现,从判断就不行了
提问者:ccds 08-22 08:08
答复

