Textarea, File Upload field setting values
| From: | Rajesh Fowkar | Date: | Sun, 05 Jan 2003 03:36:27 +0000 |
| Subject: | Textarea, File Upload field setting values | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-24555@lists.php.net to get a copy of this message | ||
Hi,
I can write a code like :
<input type="text" name="txtfield1" value="<? $txtfield1
?>">
Thus I can set the value of $txtfield1 and it is reflected in the above
textbox.
How can such thing be done with TextArea and File upload ?
<input maxLength="128" name="Imagefile" type="file"
value="<? echo $Imagefile ?>">
<textarea name="txtDescription" rows=25 cols=80
maxlength="1000" value="<? $txtDescription ?>"></textarea>
The above stuff is not working. Is it possible to accomplish the above
stuff ? I need this since I am calling the same form on submit for
validation and hence will need the values of the above also to remain
intact in case of error in any other fields.
Thanks in advance.
Peace
--
Rajesh * rajesh-shriram@gmx.net * http://www.symonds.net/~rajesh/
Powered By : Debian GNU/Linux 3.0 (Woody) - [Kernel 2.4.18(ext3),Mutt 1.5.1i]
It's not the valleys in life I dread so much as the dips.
-- Garfield