hi all
with this function i can crawl my html page and fetch its content and add in database.
but i would like to know that my html page has
1) article title
2) author name
3) description
i dont want any images or any other data like nav, header, footer.
so how will i fetch these 3 things separately.
vineet
Code:
<?php
$article = file_get_contents('http://www.domain.com/article_eng.html');
$qry="insert into article_data (article) values('$aricle')";
$result=mysql_query($qry);
?>
but i would like to know that my html page has
1) article title
2) author name
3) description
i dont want any images or any other data like nav, header, footer.
so how will i fetch these 3 things separately.
vineet
Comment