Reply to how to retain text in textarea??

Your name:

Reply:


Posted by d88pak on 12/01/06 07:16

Hi,

I am new to PHP and trying to develop simple web application using php
but I can't figure out how to retain the text in textarea. For the text
boxes I was able to retain the text (in case user makes the mistakes in
filling up the form and telling them to correct the mistaken fields)
but text in textarea get completely erased. Is there a way to do this?

By the way code is something like this:
===========================
<input maxlength="255" size="40" name="title" value="<?php echo
$_POST['title']?>">
for text box this works

but
<textarea cols="50" rows="5" name="descr" value="<?php echo
$_POST['descr']?>"></textarea>
this doesn't work for text area
===========================

Please can somebody tell me how to achieve this?

Thanks!

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация