- 4

Diss

diss

7th Jul 2020, 5:48 AM
MáșĄnh Duy BĂči
MáșĄnh Duy BĂči - avatar
3 Answers
+ 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!
7th Jul 2020, 6:12 AM
ifl
ifl - avatar
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?
7th Jul 2020, 5:48 AM
MáșĄnh Duy BĂči
MáșĄnh Duy BĂči - avatar