Parse error: parse error, unexpected T_VARIABLE in C:\wamp\www\phplearning\home.php on line 8
i have this page of code:
Code: Select all
<html>
<body>
page content<br>
stuff stuff
<?php
$page = "page1.txt"
$handle = fopen($page,w);
$count = fread($handle, filesize($page));
$count++;
fwrite($handle,$count);
fclose($handle);
echo 'This page has been viewed';
echo $count;
echo 'times';
?>
</body>
</html>ty for help in advance