Quote:
Originally Posted by TonytheBookworm
I know i'm close to getting this yet seem so far away.
|
Here is what I gave you last time. Why doesn't that work?
In line 1 it finds all the <h2> tags.
In line 2 it looks at each one to decide if there is an <a> tag inside.
In line 3, if there was an <a> tag found, it proceeds to do what needs to be done (look at the code I gave you again).
I looked at the
http://www.laineygossip.com/ page and it seems to have the same structure, with <a> tags (having the link you want) inside <h2> tags.