I'm using the site of iplocate.io to display location of user knowing his IP address. The codes works good, but I need to style the display to make it look nicer than the Json format.
Is there a way to display the result in my own page to style the display of JSON format ?
$ip = $_SERVER['REMOTE_ADDR'];
$res = file_get_contents("https://www.iplocate.io/api/lookup/$ip");
var_dump($res);
Thanks in advance