Do you know where your variables are? | |
PerlMonks |
Re: How to redisplay previously submitted textby arturo (Vicar) |
on Apr 25, 2001 at 21:51 UTC ( [id://75554]=note: print w/replies, xml ) | Need Help?? |
look at the value attribute for text input tags => print "<input type='text' name='bar' value='$bar'>\n";, where $bar is a perl variable containing the value from the DB. Be sure to escape quotes, or risk producing broken HTML. For textareas, all you need to do is put the value in between the opening and closing tag, like so:
In Section
Seekers of Perl Wisdom
|
|