What is wrong with this!
PHP Code:
<?php
echo "<pre>";
echo 
"<textarea name=\"codeview\" cols=\"80\" rows=\"15\" id=\"codeview\">";
if (!(
$f=fopen("test.txt","r"))) 
exit(
"Unable to open file.");
while (!
feof($f)) 

$x=fgetc($f); 
echo 
$x;
}
echo 
"</textarea>";
echo 
"</pre>";
fclose($f);

if(
$_POST['save']){
$code $_REQUEST['codeview'];
echo 
"$code";
}

?>
<html>
<form name="save" method="post" action="test.php">
Save.<br>
<input type="submit" name="save" value="Save.">
</form></html>