depends on where your value is coming from and has been defined, but generally you may do something like this:
<?php
// this will print the value assigned to $var within your textarea:
?>
<textarea name="text" rows="10" cols="50"><?php echo $var; ?></textarea>