i need to save contents of webpage on word. i need to keep the links and formating too. if i send
$ter=$ter. "<a href='$url'>".$chunk."</a> ";
$fp = fopen("test.doc", 'w+');
$str = $ter;
fwrite($fp, $str);
fclose($fp);
i get a word document but i loose the links ..it comes out as
a href='http://www.google.com/search?q=sells+sea+shells%0D%0A'>sells sea shells