brooksh Posted May 1, 2013 Share Posted May 1, 2013 There are several URL's in the page that include $id in them. The one I need does not have any special tags, just a long URL that I can't seem to get because of special characters. I'm using a wildcard, but it take it. Can i get any help? URL: <a href="http://thewebsite.com/?bhtid=8774&sdop=1&" rel="nofollow" target="_blank"> foreach ( $page->find("a[href*=$id&]") as $url){ //doesn't work Link to comment https://forums.phpfreaks.com/topic/277517-php-simple-html-dom-parser-find-a-specific-url/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.