I already have the file read in and all that and the strings of the HTML file are stored in an array. Is there any way to take these strings and somehow parse out the href lines to get all the links within the page? thanks!
strip_tags() on the array element shold do it for ya....
I tried that function but it gave me some wierd messages... supposedly if i have a string
$string = "<a href="#"></a> text <br>"
then: $tags = strip_tags($string)
would give me: $tags = "<a href="#"></a><br>"
right?
No, the function is called strip_tags() which, loosely translated, means "strip tags" ... therefore $tags would equal "text", which unless I misread, is what u wanted in the first place...