Echoing Problem

Hey Guys,

I have a weird problem. I am echoing some code from a database, and basically a person is putting in the values of the variables before. This is working okay, and I am echoing the code in a <textarea> so they can copy the code. BUT, the thing is-

When I echo the code, this code also has a <textarea>. So when it closes, it closes the real text area! How can I make it so it does not? Here is my echoing code-

echo "<textarea name=\"code\" cols=\"85\" rows=\"15\" id=\"code\">"; eval('echo \''.$code.'\';'); echo "</textarea>";

Please help and Happy New Year,
Peter