I'm trying to parse some table data, but that table doesn't have class or fixed number so i'm trying to catch it by using the next_sibling()
method.
But if I find a standard table it returns null. Did I make a mistake in my code?
<table class="prettytable mx-auto rounded text-center">
This is that line I want to find.
And I tried both these codes:
$html_pokemon->find('table.prettytable.mx-auto.rounded.text-center')
$html_pokemon->find('table[class=prettytable mx-auto rounded text-center]')
What did I do wrong?