- 4
Diss
diss
3 Respuestas
+ 3
Hi Mạnh Duy Bùi the wording of your question is unclear and as such makes it unsuitable for the Q&A section.
See the content creation guidelines:
https://www.sololearn.com/Content-Creation-Guidelines
Could you please edit and rephrase your question to make it more explicit and easy to find in searches?
This may also help attract the meaningful answers you are looking for...
Thanks!
0
<?php
include "server.php";
$json = file_get_contents('**personal link**');
$obj = json_decode($json);
foreach($obj->AttractionInfo AS $attraction )
{
if($attraction->Type != 'Attraction') { continue; }
echo "<ul class='lists'>";
echo "<li>" . $attraction->Id . "</li><br>";
echo "</ul>";
}
I need the button to add the id from $attraction->id into the database, can anyone help me out?