ohdang888 Posted May 20, 2010 Share Posted May 20, 2010 I'm stuck on this problem: I got an html markup of a page through cUrl, but now i want to get the innerText of links in that markup with "rel" attribute of "tag" example: things like this: <a href="blah blah" rel="tag">Tag Name 1</a> <a href="blah blah" rel="tag">Tag Name 2</a> i'm assuming its preg_match... but i'm realllyyyy bad with that function Thanks Link to comment https://forums.phpfreaks.com/topic/202418-grab-all-links-with-certain-attribute/ Share on other sites More sharing options...
trq Posted May 21, 2010 Share Posted May 21, 2010 I've been working allot lately with phpQuery which is an awesome port of the jQuery selector engine to server side php. This would make this kind of task simple. Link to comment https://forums.phpfreaks.com/topic/202418-grab-all-links-with-certain-attribute/#findComment-1061436 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.