How do I display data from a table in a textarea
I am pulling a variable (which is actually a long string) from a dbase table, and trying to display it in a "textarea" in a form.
It does work, BUT... it does not display it as a textarea as you would expect with 10 rows and 100 columns.
It just displays as only 1 row of about 20 columns. Why does it not display as a "textarea"? All the data is inside there (if you scroll to the right).
Please help me! Thank you.
Here is my line of code:
<input type="textarea" cols="100" rows="10" id="paragraph" name="paragraph"value="<?php echo $paragraph; ?>" />
PS: I'm sorry, I was not sure how to display the code with the [code] & [icode]