推荐:《PHP视频教程》
代码示例如下:
$html="<p>fdasf</p>"; echo $string = str_replace(array("<p>","","</p>"),"",$html);