Code: Select all
<?php
$url = 'https://www.mywebsite.fr/api/show/all/pages/b547d5bed80a3435ba9fac89bcb34ba6';
$result = file_get_contents($url);
$data = json_decode($result, true);
foreach($data as $page) {
if (strstr($page['key'],'v2-')){
echo "<section>";
echo $page['content'];
echo "</section>";
}
}
?>
please, can you help me ?
Of course i check the https://docs.bludit.com/en/api/introduc ... stallation but i can't select the content from my page. that's what he say .
i have a second request in the same time ( api too),
i try to see the page only if the title of page called : "bienvenue". and i would like to see the content only from this page.
thx for help