From 3ae452806b63c56c41b226a07df43732f87664e0 Mon Sep 17 00:00:00 2001 From: awesomeuser Date: Fri, 4 Aug 2023 16:40:17 +0000 Subject: [PATCH] loading image bits prep --- index.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/index.php b/index.php index 598cb57..d5b6662 100644 --- a/index.php +++ b/index.php @@ -94,6 +94,12 @@ cursor: pointer; } + + @@ -202,11 +208,13 @@ // show content $myfile = fopen("posts.txt", "r") or die("Unable to open file!"); if ($myfile) { + $index = 0; while (($line = fgets($myfile)) !== false) { echo "

" . $line . "

"; echo "" . fgets($myfile) . ""; - echo "
" . fgets($myfile) . "
"; - // + echo ""; + + index++; } fclose($myfile);