Selective content extraction--Help
Posted: Thu Jan 16, 2003 1:16 pm
Hi All!
I am a real newbie to PHP so please excuse me.
I am trying to extract from this website
http://www.smarterliving.com/air/search ... php?id=127
This has all the latest travel deals from NY.
I need just the first 4 deals on that page.
How will I write a script in PHP to break at the 4th line just to get only the first 4 deals?
I am not planning to use any db for this.
Could somebody give me some pointers or sent me a sample code.
Thanks
Pilla
I am a real newbie to PHP so please excuse me.
I am trying to extract from this website
http://www.smarterliving.com/air/search ... php?id=127
This has all the latest travel deals from NY.
I need just the first 4 deals on that page.
How will I write a script in PHP to break at the 4th line just to get only the first 4 deals?
I am not planning to use any db for this.
Could somebody give me some pointers or sent me a sample code.
Thanks
Pilla