if you mean remove the new line characters, then a str_replace('\n', '', $textbody); should be sufficient. If thats not what you mean, please clarify.
Jason On Tue, 27 Jul 2004 18:29:42 -0500, Raśl Castro <[EMAIL PROTECTED]> wrote: > Hello, > > I have a form with a textarea field, I'm trying to eliminate the <enter> keywords > that users write on it, what can I do using php? for instance: the original phrase > would be: "Hello <enter> world!" > after using a function php must be: "Hello world!". > > Thanks > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php