How to get the value of “title” using php DOM Document?
[php]
[/php]
so far ive got…
[php]$dom = new DOMDocument;
@$dom->loadHTMLFile(‘file.html’);
$divs=$dom->getElementsByTagName(‘div’);
foreach($divs as $div){
if ($div->getAttribute(‘class’) == “lovers_list”)
{
}
[/php]
thank you