I’m trying to out put a database field value into a text area by doing this but it’s not working.
<textarea name="course_id" cols=40 rows=3 value="<?php echo $row['course_id'] ; ?>"></textarea>
but when i use
<input type="text" name="course_id" value="<?php echo $row['course_id'] ; ?> ">
it worked well.
Thanks.
You enter the value between textarea tags.