Hello im looking for some help with a php screen scraping script basically im looking to grab; Episode, Title, Type, Production Code, First Aired And Summary. You can see the code im using at http://www.e2tv.tv/p.txt and http://www.e2tv.tv/cScrape.txt but when you go to p.php just shows a blank page. please tell me where im going wrong and how to fix it please.
Cheers
Tom
Screen Scraping Multiple pages
Started by tomcromp, Mar 22 2010 11:17 AM
6 replies to this topic
#1
Posted 22 March 2010 - 11:17 AM
|
|
|
#2
Posted 22 March 2010 - 02:47 PM
it doesn't echo anything anywhere?
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 22 March 2010 - 04:14 PM
what would i echo to show the results?
Tom
Tom
#4
Posted 23 March 2010 - 02:07 AM
you need to echo everything you want to show up on the page.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#5
Posted 23 March 2010 - 03:21 AM
yeah but in that what would i echo?
#6
Guest_Jaan_*
Posted 23 March 2010 - 04:57 AM
Guest_Jaan_*
Can you show us your code ?
#7
Posted 23 March 2010 - 08:54 AM
Try to echo outside the foreach loop and inside it, to show what is running and not. I suspect that the foreach loop isn't ran at all...
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall


Sign In
Create Account

Back to top









