Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > How to fetch new line from cgi textarea object

Reply
Thread Tools

How to fetch new line from cgi textarea object

 
 
Roman Khutkyy
Guest
Posts: n/a
 
      07-06-2004
Hi all,
The problem. User fills the form that includes the textarea object. He/she
fills the textarea with "Enter" key to start new line. Later this
information stores in database and will be shown in formatted HTML page.
How to fetch the 'enters' from user, i mean, how to save format of users
information. If to do nothing with received textarea parameter the enters
disapears. I tried to find %D0%A0 substring (I saw it in query string) but
nothing works out - looks like it is invisible for script.

Thanks
 
Reply With Quote
 
 
 
 
Eugene Mikheyev
Guest
Posts: n/a
 
      07-06-2004
> If to do nothing with received textarea parameter the enters
> disapears.

If to do nothing - nothing dissapears.
Blind guess - have you tried to convert \n => <br/>, or just enclose all
this in <pre></pre> tags?

I think you should have shown some code snippet...


 
Reply With Quote
 
 
 
 
Roman Khutkyy
Guest
Posts: n/a
 
      07-06-2004
You are right Eugene !!!

It's really so simple. I've got almost crazy - but have never tried to
fetch /n. Thanks a lot. А ще кажуть різні дурниці - що Українець Українцю
не допоможе - брехня це все...




On Tue, 6 Jul 2004 13:00:10 +0300, Eugene Mikheyev
<(E-Mail Removed)> wrote:

>> If to do nothing with received textarea parameter the enters
>> disapears.

> If to do nothing - nothing dissapears.
> Blind guess - have you tried to convert \n => <br/>, or just enclose all
> this in <pre></pre> tags?
>
> I think you should have shown some code snippet...
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: How include a large array? Edward A. Falk C Programming 1 04-04-2013 08:07 PM
How to add </textarea> within <textarea> tags? frank.moens@gmail.com Javascript 1 07-04-2007 04:00 PM
Textarea Inside of a textarea wperry1@gmail.com ASP General 6 02-05-2006 08:00 AM
Calling cgi from cgi thru 'system' function. Different behaviour on browser v/s cmd line Shailan Perl 2 12-15-2003 04:26 PM
Removing carriage returns from <textarea></textarea> input Augustus ASP General 1 09-10-2003 04:55 AM



Advertisments