I'm parsing internet newspapers's columinst page. I have problem about this site
the parsing was working fine in the starting but it stopped working.
Here's my code
$curl_handle=curl_init();
curl_setopt($curl_handle, CURLOPT_URL,$gazeteAdress);
//curl_setopt($curl_handle, CURLOPT_CONNECTTIMEOUT, 2);
curl_setopt($curl_handle, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl_handle, CURLOPT_USERAGENT, 'mozilla');
$query = curl_exec($curl_handle);
curl_close($curl_handle);
$html = new simple_html_dom();
$html->load($query);
I don't know why my code sometimes is not parsing the site, so I was thinking about connection_timeout. But It is not the problem, so I was thinking of printing html page with curl instead.
echo $html;
Here is result. (sometimes my code is not parsing html page properly)

why the html tags are not coming and why am seeing the result like this. Can anyone help ?