Jump to content

no lin breaks?


putnamehere

Recommended Posts

[!--quoteo(post=363052:date=Apr 9 2006, 12:40 PM:name=wildteen88)--][div class=\'quotetop\']QUOTE(wildteen88 @ Apr 9 2006, 12:40 PM) [snapback]363052[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Simple:
[code]$str = "String<br />with <br />line breaks<br />";
$str = str_replace("<br />", "", $str);

echo $str;[/code]
[/quote]

it works but i want to write "$str" to a file and for that it dosent work any ideas y?
Link to comment
https://forums.phpfreaks.com/topic/6953-no-lin-breaks/#findComment-25277
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.