Yasir Siddiqui - 2011-05-09 10:27:09
i am working on scrapping score of MLB and use that data in my database.
i tried to use your example class but its giving me these error:
Deprecated: Assigning the return value of new by reference is deprecated in D:\xampp\htdocs\demo1\test\class_ScoreScraper.php on line 94
Notice: Undefined index: port in D:\xampp\htdocs\demo1\test\class_HTTPRetriever.php on line 415
Notice: Undefined index: Date in D:\xampp\htdocs\demo1\test\class_HTTPRetriever.php on line 620
Fatal error: Using $this when not in object context in D:\xampp\htdocs\demo1\test\test_score.php on line 31
Please help me to get MLB data from ESPN site.