I have few tousand html pages that I need to convert to MySQl...
My problem is that all the titles are in the links located on another page...
I figured that I could do that with a regural expression that could retrieve the link adress and name an put them inside an array... then I only need to run a loop inserting the link names and html files into my db..
what I have is something like this:
<a href = "LINK ADRESS">LINK NAME</a>
and I need soething like this:
$array[1][name] = 'LINK NAME';
$array[1][adress] = 'LINK ADRESS';
$array[2][name] = 'LINK NAME';
$array[2][adress] = 'LINK ADRESS';
and so on..
I have no clue in how to do it..
Any help will be largelly apreciated..