Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When the remove method cannot be called, the error "[BadMethodCallException] Method does not exist ” #97

Open
kl521516 opened this issue Feb 24, 2023 · 0 comments

Comments

@kl521516
Copy link

kl521516 commented Feb 24, 2023

https://simplehtmldom.sourceforge.io/docs/1.9/api/simple_html_dom_node/remove/

I refer to this page example

`
$html = HtmlDomParser::str_get_html(<<<EOD

Title
Row 1
EOD );

$table = $html->find('table', 0);
$table->remove();

echo $html;
`

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant