$source='</table><a href="http://www.geocities.com/files/index.htm" id=r-';
How do you get the website address within $source? in other words, how do i get the first occurance of </table><a href=" and " id=r- and get the text between the two?
a brute force way would be to loop through and search for everything between the quotations or search for the "http://" until the end of the quotation
i know there's a function that does it, but i can't remember right now
got it.. thanks newayz