i was wondering if it was possible to include an html file, and cut out the first lines of html and the last couple of lines. i'm including a file from a friend's web page and i want to only show a couple of lines of the page, and i want it to be dynamic (of course). is there a way to do this?
give this a burl (it may or may not help)
$lines=file($url); //$url is the url to retrieve/or file name // $lines is an array with its elements equal to each line // of the page $url
then just loop from line 5 through to count-5
hope it helps