Hi
Use the str_replace function like this :
$myText = str_replace ("\n", "", $myText);
This will remove all line breaks from $myText
http://www.php.net/manual/en/function.str-replace.php
Regards
Girish
--
www.girishnath.co.uk
----- Original Message -----
From: "Roman Duriancik" <[EMAIL PROTECTED]>
To: "PHP-General" <[EMAIL PROTECTED]>
Sent: Wednesday, February 13, 2002 11:09 AM
Subject: [PHP] Problem
How to delete from text documents mark end of line.
Example: In file I have some formatted text document with paragraphs, but i
need convert this document to new document without paragraphs (all text
document in one paragraph).
Thanks for yours help.
roman
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php