Codice PHP:
echo "<textarea>".$var."</textarea>"
naturalmente la pagina è .php

dove sta l'html?