I am trying to extract the headlines/url's under the "technology" gif at http://www.techweb.com/newsPopUp/content
I am using: preg_match_all("/<a href="http://www.techweb.com/wire/story(.+?)">(.+?)</a>/i", $page, $news, PREG_PATTERN_ORDER);
This SHOULD work (I think), but there seems to be a problem in receiving the first (.+?). The second, which is the headline is received fine. Any ideas on what I am doing wrong?