I tryed to grab the price from the html source here is the part of the source
<h1>
<span id="ctl00_PageHeaderContentPlaceHolder_lblRegion">Product Name</span>
<strong id="ctl00_PageHeaderContentPlaceHolder_divFiyat" class="price">
749 €
<small>
2007 TL
<small class="nightday">
<span id="ctl00_PageHeaderContentPlaceHolder_lblNightDay">Un related detals</span></small></small>
</strong>
</h1>
As you see here it is very specified id. Here is my code..
$Tour_Price ="/<span id=\"ctl00_PageHeaderContentPlaceHolder_divFiyat\" class=\"price\">(.*?)<\/span>/i";
preg_match($Tour_Price , $Tur_Fiyat, $Result_Price);
echo "<strong>Result:</strong>".$Result_Price[1];
My code works perfectly in other parts of the source. But price only doesnt. Please shoot ideas. Thanks to all interested :)