Solved

textarea vs textbox

Posted on 2002-05-23
2
650 Views
Last Modified: 2008-01-09
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
0
Comment
Question by:Paurths
2 Comments
 
LVL 4

Accepted Solution

by:
lokeshv earned 100 total points
ID: 7029813
display like ..


<textarea wrap=phyiscal rows="11" name="txtvraaginhoud" cols="54">"<?=$txtvraag?></textarea>



Hope this helps..

Lk

0
 
LVL 12

Author Comment

by:Paurths
ID: 7029860
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
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Generating table dynamically is the most common issue faced by php developers.... So it seems there is a need of an article that explains the basic concept of generating tables dynamically. It just requires a basic knowledge of html and little maths…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now