Ive been trying to find a way to populate a comments(<textarea>) field from a db.
All im getting returned are the quotes that encapsulate my call to the database
$Row3 = mysql_fetch_array ($Result2);
Print ("<tr><td>Comments</td><td><textarea class=textbox name=\"comments\" cols=25 rows=5>\"$Row3[comments]\"</textarea><br></td></tr> ");
If it were an <input > type tag i would call it via the value attribute value=http://www.phpbuilder.com/board/archive/index.php/\"$Row3[comments]\. The fact that <textarea> hasnt got a value attribute means I cannot.
Ive tried putting the call inside the textarea tag and that also failed.
any pointers much appreciated
tia
rob
All im getting returned are the quotes that encapsulate my call to the database
$Row3 = mysql_fetch_array ($Result2);
Print ("<tr><td>Comments</td><td><textarea class=textbox name=\"comments\" cols=25 rows=5>\"$Row3[comments]\"</textarea><br></td></tr> ");
If it were an <input > type tag i would call it via the value attribute value=http://www.phpbuilder.com/board/archive/index.php/\"$Row3[comments]\. The fact that <textarea> hasnt got a value attribute means I cannot.
Ive tried putting the call inside the textarea tag and that also failed.
any pointers much appreciated
tia
rob