Paurths
asked on
textarea vs textbox
hi,
seems i have a problem with filling a textarea with a retrieved variable from another form.
A user fills in data into a textarea, submits the form,
in the next page i can retrieve the data as it should, but i would like to display it into another textarea on this second page.
Doesn't work.
works when i display it in a textbox...
// not working
<textarea wrap=phyiscal rows="11" name="txtvraaginhoud" cols="54" value="<?php echo $txtvraag; ?>"></textarea>
//working!
<input type="text" name="txtv" value="<?php echo $txtvraag; ?>">
any clues?
cheers
Ricky
seems i have a problem with filling a textarea with a retrieved variable from another form.
A user fills in data into a textarea, submits the form,
in the next page i can retrieve the data as it should, but i would like to display it into another textarea on this second page.
Doesn't work.
works when i display it in a textbox...
// not working
<textarea wrap=phyiscal rows="11" name="txtvraaginhoud" cols="54" value="<?php echo $txtvraag; ?>"></textarea>
//working!
<input type="text" name="txtv" value="<?php echo $txtvraag; ?>">
any clues?
cheers
Ricky
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
<textarea wrap=phyiscal rows="11" name="txtvraaginhoud" cols="54" text="one, tow"><?=$txtvraag?></texta
i've been messing around too much to see it would be that simple.
thanx alot lokeshv,
cheers
Ricky