0
I have a string thus:
$string = "<div class="legenda">Legenda</div>
<li><a href="link2">02</a></li>
<li><a href="link3">03</a></li>
<li><a href="link4">04</a></li>
<div class="dublado">Dublado</div>
<li><a href="link1">01</a></li>
<li><a href="link2">02</a></li>
<li><a href="link3">03</a></li>
";
I wanted a help to manipulate and she’d be shown that way
Legenda
1
1
1
Dublado
1
1
1
In case, show only what is inside the <div class="legenda">
of <a>
and the other div.
Someone has a solution?
It didn’t work :/ so it would hide the div, wanted to manipulate the string to modify them
– Rogério Silva