首頁 >後端開發 >php教程 >用HTML断行符代替换行符_PHP教程

用HTML断行符代替换行符_PHP教程

WBOY
WBOY原創
2016-07-13 17:24:10917瀏覽


print"";
print"

";
print"网络随笔";
print"";
print"";
if(isset($text))
{
print"正常的文字。
";
print($text);
print"
";
$text=ereg_replace(10,"
",$text);
$text=ereg_replace(13," ",$text);
print"修改后的文字。
";
print($text);
print"
";
}
print"";
print"";
print"";
?>

www.bkjia.comtruehttp://www.bkjia.com/PHPjc/532152.htmlTechArticleprint" "; print" "; print" 网络随笔 "; print" "; print" "; if(isset($text)) { print" 正常的文字。 "; print($text); print" "; $text=ereg_replace(10," ",$text); $text=ereg_...
陳述:
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn