<textarea> default values are set:
<textarea>value</textarea>
So use something like:
<textarea name="tweet" cols="50"rows="5" id="tweet"><?php echo $submission ?> <?php echo $fullurl ?></textarea>
Note that any spaces appear as-is in the text area, so newlines will cause newlines to appear in the text field.
source
share