Solved

textarea vs textbox

Posted on 2002-05-23
2
662 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

726 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