Im trying to make something which retrieves event data, but when it tries to echo some special tokens I get weird text back.
This is the code:
foreach( $new_html->find( 'div#desc' ) as $desc ) {
echo $desc;
echo "</br>";
}
and this is what it returns:
ClubCuccini Persian Valentines Party
▀▀▀▀ Friday 12th February 2016 ▀▀▀▀
ClubCuccini would like to invite you all to one of the most romantic and exciting events of the year in L8 Club , one of the most exclusive place in London.
but it should be returning:
▀▀▀▀ Friday 12th February 2016 ▀▀▀▀
ClubCuccini would like to invite you all to one of the most romantic and exciting events of the year in L8 Club , one of the most exclusive place in London.
Any ideas how to get the good text form?
</div>