yeah i just realized that , thats why i deleted my last post just before you said that...
heres the script now:
<?php
// get contents of a file into a string
$filename = "shouts.txt";
$handle = fopen($filename, "r");
$contents = fread($handle, filesize($filename));
echo "<input input="textarea" value="$contents">";
fclose($handle)
?>
and now i get this error:
Parse error: syntax error, unexpected T_STRING, expecting ',' or ';'