in reply to converting carriage returns to <br> tags (was: Simple Question for you guys)
my $text=$cgi->param('mytextfield'); $text =~ s/\n/\<br\>/g; ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Peter L. Berghold --- Peter@Berghold.Net "Those who fail to learn from history are condemned to repeat it."
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Simple Question for you guys.
by AidanLee (Chaplain) on May 18, 2001 at 17:30 UTC | |
by blue_cowdawg (Monsignor) on May 18, 2001 at 17:41 UTC | |
by davorg (Chancellor) on May 18, 2001 at 17:44 UTC | |
by chipmunk (Parson) on May 18, 2001 at 18:20 UTC | |
by blue_cowdawg (Monsignor) on May 18, 2001 at 17:52 UTC | |
by davorg (Chancellor) on May 18, 2001 at 18:14 UTC |