I know textareas can be tricky, but I have never tried to extract the contents of a textarea with php. Here is my code that won't work:
<?php session_start();
$textarea = $_POST['textarea1'];
?>
<html><head><title>Untitled Document</title></head>
<body>
<form action="<?php $_SERVER['PHP_SELF'];?>">
<textarea name="textarea1"></textarea>
<input type="submit" name="Submit" value="Submit">
</form>
<br><?php echo( $textarea );?>
I hope that I did something stupid. Thanks in advance!