brooksh Posted May 1, 2013 Share Posted May 1, 2013 (edited) 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 Edited May 1, 2013 by brooksh Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.