Hi all. i wonder how i can extract the following data from an html file and set them to variables so i can write them to mysql database:
Data to extract :
1)
http://www.someurl.com/
2)12345678
3)
http://www.somesite.com/pic1.jpg
4)Tom
Note: the number of these set of data is not fixed!! Some times it reaches 900!!
So i be happy if some one show me a solution that works for large sets of data and allow me write them to mysql db.Thanks
Quote:
<tr>
<td><a href="http://www.someurl.com/">12345678</a></td>
<td><img src="http://www.somesite.com/pic1.jpg" alt="" /></td>
<td>Tom</td>
</tr>
|