RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
in a web based group you were having with another person, but none of your suggestions there worked. Suggestions Thanks again... -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 12:14 PM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with

Re: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread John W. Holmes
PHP User wrote: Something came to mind as soon as I sent my last email, and it seems to work. Not sure it will work in every circumstance but the few tests I tried seemed ok. This is what I did. I added the two following lines to my script. $text=str_replace("\n","",$text); $text=str_replace("","",

RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
_replace("","",$text); Thanks for your input CR -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 2:00 AM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with line breaks in a textarea form PHP User wrote: > Hi, >

RE: [PHP] Need help with line breaks in a textarea form

2004-07-16 Thread PHP User
olmes [mailto:[EMAIL PROTECTED] Sent: July 16, 2004 2:00 AM To: PHP User Cc: PHP Subject: Re: [PHP] Need help with line breaks in a textarea form PHP User wrote: > Hi, > > I have been trying to format the textarea output and have come across > some code that almost does what I

Re: [PHP] Need help with line breaks in a textarea form

2004-07-15 Thread John W. Holmes
PHP User wrote: Hi, I have been trying to format the textarea output and have come across some code that almost does what I need, but I still have one small problem. Look at the text below that was input into my textarea: Now is the time for all young men to come to the aid of the party. Now is the

[PHP] Need help with line breaks in a textarea form

2004-07-15 Thread PHP User
Hi, I have been trying to format the textarea output and have come across some code that almost does what I need, but I still have one small problem. Look at the text below that was input into my textarea: Now is the time for all young men to come to the aid of the party. Now is the time for all