Don’t work
-
Rates are not displayed
Hello, I’m using the plugin to display some investment rates, but for some reason they are not being displayed. Look at the code:
[insert_php]
$data = simplexml_load_file(“https://conteudo.bcb.gov.br/api/feed/pt-br/PAINEL_INDICADORES/juros”);
$date = $data->entry->updated;
$year = substr($date, 0, 4);
$month = substr($date, 5, 2);
$day = substr($date, 8, 2);
$content = $data->entry->content;
echo “Selic Meta: “;
echo substr($content, 56, 3);
echo “%”;
echo “<br>”;
echo “Selic Diária: “;
echo substr($content, 170, 3);
echo “%”;
echo “<br>”;
echo “última atualiza??o: ” .$day .”-” .$month .”-” .$year ;
[/insert_php]See example in widget on site footer:
https://simuladorinvestimento.com.br/taxas-de-juros/The page I need help with: [log in to see the link]
- The topic ‘Don’t work’ is closed to new replies.