Home >php教程 >php手册 >用HTML断行符代替换行符

用HTML断行符代替换行符

WBOY
WBOYOriginal
2016-06-13 10:24:27832browse


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"";
?>
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn