S.S S.S - 1 year ago 87
HTML Question

How can i post data in to a textarea?

Area <input type="text" name="area" size="15" maxlength="25" value="<?php echo $data2['area'] ?>" /><br /><br />
Description <br /><br /> <textarea rows="8" cols="50" name="description" value="<?php echo $data2['description']?>"></textarea> <br /> <br />

I can post data into the input text from the database but its not working for the text area, this page is for allowing users to update there ads.

Answer Source

In textarea no need value attribute. Bellow code:

<textarea rows="8" cols="50" name="description"><?php echo $data2['description']?></textarea>
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download