View Single Post
06-02-2010, 03:36 AM
#1
JasonGDX is offline JasonGDX
JasonGDX's Avatar
Status: Junior Member
Join date: Nov 2006
Location: Pennsylvania, USA
Expertise: Design, HTML, CSS, PHP, MySQL
Software: Photoshop, Coda
 
Posts: 95
iTrader: 4 / 100%
 

JasonGDX is on a distinguished road

  Old  Get Element Attribute with cURL (PHP)

I don't know much about cURL, but I am pretty sure that is what I would use to accomplish this. I need some help here.

I want to get the value of an attribute from a specific element on an HTML page.

This is the code:

Code:
<a href="http://www.example.com" class="lb_link right" id="linkSkip">Skip This Page ></a>
I want to get the link url from the <a> element with the id of "linkSkip" and put that in a variable.

Could anyone help with this?

Reply With Quote