Solved

textarea vs textbox

Posted on 2002-05-23
2
656 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

These days socially coordinated efforts have turned into a critical requirement for enterprises.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

840 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