diff --git a/index.php b/index.php index 04b83a6..3ce47a9 100644 --- a/index.php +++ b/index.php @@ -38,14 +38,17 @@
"); + fclose($myfile); + + // read from file $myfile = fopen("posts.txt", "r") or die("Unable to open file!"); echo fread($myfile,filesize("posts.txt")); fclose($myfile); ?> -
you: -