Possible Duplicate:
How to parse and process HTML with PHP?
I have used this code for fetching html content from given website of url.
**Code:**
=================================================================
example URL: http://www.qatarsale.com/EnMain.aspx
/*
$regexp = '/<div id="UpdatePanel4">(.*?)<\/div>/i';
@preg_match_all($regexp, @file_get_contents('http://www.qatarsale.com/EnMain.aspx'), $matches, PREG_SET_ORDER);*/
/*
but $matches returns blank array. I want fetch all html content that are found in div id="UpdatePanel4".
If anybody have any solution please suggest me.
Thanks