Re: [PHP] eliminate keyword

2004-07-27 Thread Justin Patrin
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 keywords > that users write on it, what can I do using php? for instance: the original phrase > would be: "Hello world!" > after using a func

Re: [PHP] eliminate keyword

2004-07-27 Thread Jason Davidson
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

[PHP] eliminate keyword

2004-07-27 Thread Raúl Castro
Hello, I have a form with a textarea field, I'm trying to eliminate the keywords that users write on it, what can I do using php? for instance: the original phrase would be: "Hello world!" after using a function php must be: "Hello world!". Thanks