I am using php to get textarea value using post method but getting a weird result with that let me show you my code
Make sure your escaping the HTML characters
E.g.
// Always check an input variable is set before you use it
if (isset($_POST['contact_list'])) {
// Escape any html characters
echo htmlentities($_POST['contact_list']);
}
This would occur because of the angle brackets and the browser thinking they are tags.
See: http://php.net/manual/en/function.htmlentities.php