I'm kinda new to php, and I am still in the learning phase. Please excuse me for what may be a simple question...
I am wondering if I could get some help with a small block of code. I am trying to take the content of an HTML file and pull part of all of the hyperlinks on the page and put them into a variable.
The hyperlinks are formatted something like this:
http://www.sitename.com/index.html?z=T83K3&p=0
So, basically, a page of html with some <a href's scattered about and I want to put the string after z= into a variable from each of the links.
TIA: I thank anyone that can help.
Need help getting variable...
Moderator: General Moderators
- AVATAr
- Forum Regular
- Posts: 524
- Joined: Tue Jul 16, 2002 4:19 pm
- Location: Uruguay -- Montevideo
- Contact:
take a look
Take a look to the forum sticky!: viewtopic.php?t=511