用HTML断行符代替换行符
程序员文章站
2024-01-31 08:05:10
...
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"";
?>