$str="abcdefg"; $str=str_replace('a','',$str); echo $str;//输出 bcdefg
关于str_replace
http://www.w3school.com.cn/php/func_string_str_replace.asp
$str="abcdefg"; $str=str_replace('a','',$str); echo $str;//输出 bcdefg
关于str_replace
http://www.w3school.com.cn/php/func_string_str_replace.asp