|
Hello,
I want to use a script so it will display on the webpage what is in a text document. I only want the first line and i am using this script.
<?php
$fp = fopen("stored/no6.txt", "r")
$data = fread($fp, 1);
fclose($fp);
echo $data;
?>
It comes up with this error "Parse error: parse error, unexpected T_VARIABLE in /home/randomsh/public_html/Submit.php on line 399"
and line 399 is this line: $data = fread($fp, 1);
Any ideas?
Many thanks
Chris Harris
|