i have a txt file containing 100's of lines of text.
i want to echo(include)?...only say lines
5 to 10 into an html page..
how do i do this?
so far i have managed to count the lines....
$file = "/bla/bla/file.txt";
$lines=file($file);
for($i=0;$i<count($lines);$i++){
echo "$lines[$i]";
}
help please!
im crap at php!!!