Solved

textarea vs textbox

Posted on 2002-05-23
2
647 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
Comment Utility
display like ..


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



Hope this helps..

Lk

0
 
LVL 12

Author Comment

by:Paurths
Comment Utility
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

Easy Project Management (No User Manual Required)

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Deprecated and Headed for the Dustbin By now, you have probably heard that some PHP features, while convenient, can also cause PHP security problems.  This article discusses one of those, called register_globals.  It is a thing you do not want.  …
Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

763 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

12 Experts available now in Live!

Get 1:1 Help Now