On Fri, 8 Jun 2001, Aaron Craig <[EMAIL PROTECTED]> wrote,

> At 11:42 07.06.2001 -0400, you wrote:
> >I have a problem with an HTML form.  I am collecting in put from a html
> >textarea box, then displaying it to the scream on the next page. the
> >problem is that the whole string is being displayed all on one line I want
> >no more than 50 characters to display on each line. And only if the string
> >is more than 50 characters.  Does anyone have a solution?

In perl way,

#!/usr/bin/perl -w

use strict;
use CGI ':standard';

print
    header,
    start_html('showing textbox'),
    h1('Textbox'),
    start_form,
    textarea(
        -name => 'textbox',
        -cols => 50,
        -rows => 4,
        -wrap => 'physical',
    );
    br,
    submit,
    end_form;


hth
s::a::n
-- 
http://www.trabas.com

Reply via email to