Answers for "how to get data from php site and ad it into json"

PHP
-1

how to make a json request in php

<?php
$jsonurl = "http://api.wipmania.com/json";
$json = file_get_contents($jsonurl);
var_dump(json_decode($json));
?>
Posted by: Guest on April-26-2020

Code answers related to "how to get data from php site and ad it into json"

Browse Popular Code Answers by Language