Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: How to redisplay previously submitted text

by arturo (Vicar)
on Apr 25, 2001 at 21:51 UTC ( [id://75554]=note: print w/replies, xml ) Need Help??


in reply to How to redisplay previously submitted text

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:

<textarea name="foo" rows=5 cols=80> $foo</textarea>

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://75554]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2024-03-19 10:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found