I am new at PHP! Fun stuff! I am trying to edit data from a mysql database. I obtain the data and assign them variables. When I open the form I have a textarea. How do I echo the variable for the textarea.
eg: <TEXTAREA VALUE="<?php echo \"$text_data"; ?>
Textarea does not support the VALUE statement. HELP!
ET
You are right, there is no value attribute for textarea.
You want this: <textarea>Here is where the value goes.</textarea>
The stuff in between the tags is treated as the value.
<textarea><?= $text_data; ?></textarea>
<textarea name="whatever"> <?=$text_data?> </textarea>
Simple as that! Thanks!