create 3 arrays. first array last names, second name first name and third array has asked for the wisdom of the Perl Monks concerning the following question:
This doesn't do it, all it outputs is $message so I tried throwing it all into $replytxt and then doing thisprint $cgi->start_td({valign=>'TOP'}), "Message: ", $cgi->end_td, $cgi->start_td, $cgi->textarea({name=>'MESSAGE', wrap=>'SOFT', r +ows=>24, cols=>80, tabindex=>3, -default= +>"On $date, $from wrote:\n$message"}),
same thing, I think it has something to do with that string, but i'm not sure. I've also tried using qw and single quotes instead of double, same results any ideas?$replytxt = "On $date $from wrote $message"; print $cgi->start_td({valign=>'TOP'}), "Message: ", $cgi->end_td, $cgi->start_td, $cgi->textarea({name=>'MESSAGE', wrap=>'SOFT', r +ows=>24, cols=>80, tabindex=>3, -default= +>$replytxt}),
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: default values of textareas using CGI.pm
by merlyn (Sage) on Mar 09, 2001 at 20:48 UTC | |
by create 3 arrays. first array last names, second name first name and third array (Initiate) on Mar 09, 2001 at 20:59 UTC |