1
Hello,
I’m with that Warning in my code:
Warning: simplexml_load_string(): Entity: line 1: parser error : Start tag expected, '<' not found in /var/www/modules/search.php on line 97 Warning: simplexml_load_string(): {"errors":[{"error_message":"401 - Unauthorized"}]} in /var/www/modules/search.php on line 97 Warning: simplexml_load_string(): in /var/www/modules/search.php on line 97 Warning: Invalid argument supplied for foreach() in /var/www/modules/search.php on line 99
Along those lines:
$mp3_search = get_content("http://api.soundcloud.com/tracks/?client_id=2e2135723532d1c7a5134501cb2e923c&q=" . $keyword);
if ($mp3_search)
{
$mp3_search = simplexml_load_string($mp3_search);
foreach ($mp3_search as $result) {
and what is your question ?
– Isvaldo Fernandes
edited and added $mp3_search
– feliphe felix
@feliphefelix It worked?
– stderr
Yes, Gave the internet dropped here and could not warn, Ta raining a lot.
– feliphe felix