Blog

Words.



= $x) { // loop three times echo "
"; $file=fopen("posts/".$i,"r") or exit("Unable to open file!"); // open the file or spew error; echo fgets($file).""; echo fgets($file); echo fgets($file); echo fgets($file); fclose($file); $i--; //close file; decrement the pointer echo "
"; } // end loop ?>