Jump to content

Php Simple Html Dom Parser


1zeus1

Recommended Posts

or this error :

Fatal error: Call to a member function find() on a non-object in C:\xampp\htdocs\b\a\v.php on line 6

 

in this code:

 

<?php

include('simple_html_dom.php');

 

$html = '<span class="st">svsv</span>';

/////////////////////////

foreach($html->find('span.st') as $c)

$cc= $c -> plaintext . '-';

?>

 

can someone help me

regards

Link to comment
https://forums.phpfreaks.com/topic/270826-php-simple-html-dom-parser/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.