Got myself stuck on something & know that a lot of you guys know your way around PHP.
I'm trying to extract the links from a load of code that I have here using PHP.
For instance, I may have some code like:
PHP Code:
<b>some rubbish</b><br><a href="link1.php">Read page one</a> and while you are there why not <a href="link2.pgp">read page 2</a>
All I want to retrieve from it is the href and link text for each link (so that I can dump it in a database).
Sure that there is meant to be someone here to help with stuff like this, but everyone has buggered off for the weekend - Thought it a pretty safe bet that someone would pass by here though.