I have a html tag as follows:-
<p>
"SOme important data1"
<br>
<br>
"SOme important data2"
<br>
<br>
"SOme important data3"
</p>
Now i want to get the data seperatley as "SOme important data1" SOme important data2 SOme important data3
I am using simple html dom. But i dnt knw hw to fetch this data.
What i have tried:-
echo $html->find('p',0)->plaintext;
But this prints all the data, Hw to fetch the data seperately...Please help me out... Thanks in advance