欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页  >  后端开发

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

程序员文章站 2024-02-10 10:30:16
...

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_...