In PHP, how do I echo out the value of a textarea? The code I have below doesn't work.
<form name="code_editor" action="index.php" method="post">
<textarea name="code" rows="8" cols="80"></textarea>
<input type="submit" value="Upload">
</form>
I have this in a separate file named 'index.php' and the code above is in 'index.html'
<?php
echo $_POST['code_editor'];
?>