title: How to read a json file into html table php?
body: <p>Okay so this is my first time posting on this website. I need a little help, I am trying to add data from a json API into a html table. This is what I have so far.</p>
  
  <pre><code>&lt;?php
  
  $gamertag = 'x0--ii';
  $jsonurl = 'https://tusticles.com/psn/api?psn='.$gamertag;
  $json = file_get_contents($jsonurl);
  var_dump(json_decode($json));
  
  &lt;?
  </code></pre>
  
  <p>Here is my Output:</p>
  
  <p><code>object(stdClass)#1 (2) { ["status"]=&gt; string(3) "200" ["response"]=&gt; object(stdClass)#2 (5) { ["onlineId"]=&gt; string(6) "x0--II" ["avatar"]=&gt; string(77) "http://static-resource.np.community.playstation.net/avatar_m/SCEI/I0053_m.png" ["plus"]=&gt; int(0) ["aboutMe"]=&gt; string(0) "" ["trophies"]=&gt; object(stdClass)#3 (6) { ["trophyLevel"]=&gt; int(3) ["progress"]=&gt; int(7) ["platinum"]=&gt; int(0) ["gold"]=&gt; int(2) ["silver"]=&gt; int(6) ["bronze"]=&gt; int(19) } } }</code></p>
  
  <p>I want to display the image as well as all the values. Thanks for any help!</p>