Link to home
Start Free TrialLog in
Avatar of Paurths
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
ASKER CERTIFIED SOLUTION
Avatar of lokeshv
lokeshv

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Paurths
Paurths

ASKER

ofcourse...
<textarea wrap=phyiscal rows="11" name="txtvraaginhoud" cols="54" text="one, tow"><?=$txtvraag?></textarea>

i've been messing around too much to see it would be that simple.

thanx alot lokeshv,

cheers
Ricky