basically you should be able to output the following html
echo "<textarea name='message' rows='20' cols='70'>$myVal</textarea>";
where $myVal has one of you bits of data and there shouldn't be a problem.
I'd try to view the source and see if that sheds any light on the problem.
The other things to consider are the use of addslashes() and stripslashes() which - if missed - could be causing problems.