Hey! Im new here 
I am trying to scrape a hotel booking site to import their reviews div so I can display their reviews on my website, I just seem to be having a few problems.
This is the code I have so far:
[php]<?php
$url = âhttp://www.laterooms.com/en/hotel-reviews/238902_the-westfield-bb-sandown.aspxâ;
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
$htmlContent = curl_exec($curl);
curl_close($curl);
$doc = new DOMDocument();
$doc->load($htmlContent);
foreach ($pElements as $pEl) {
if ($pEl->getAttribute(âdivâ) == âreviewsâ) {
$pContent = $pEl->nodeValue;
}
}
?>[/php]
Thanks for any input in advance 8)