title: How do I post this JSON data with PHP? This JSON different
body: <p>This is JSON data</p>
  
  <pre><code>{"clanSearch":{"results":[{"tag":"#G90G8RCU","name":"codex2015.asia","type":"open","locationName":"Indonesia","clanBadgeImg":{"s":"https://api-assets.clashofclans.com/badges/70/FDduXa8Fmz_KmJyPsFTTms00YDykkmlZRu4ev-juBQQ.png, https://api-assets.clashofclans.com/badges/200/FDduXa8Fmz_KmJyPsFTTms00YDykkmlZRu4ev-juBQQ.png 2x","m":"https://api-assets.clashofclans.com/badges/200/FDduXa8Fmz_KmJyPsFTTms00YDykkmlZRu4ev-juBQQ.png, https://api-assets.clashofclans.com/badges/200/FDduXa8Fmz_KmJyPsFTTms00YDykkmlZRu4ev-juBQQ.png 2x","l":"https://api-assets.clashofclans.com/badges/200/FDduXa8Fmz_KmJyPsFTTms00YDykkmlZRu4ev-juBQQ.png","xl":"https://api-assets.clashofclans.com/badges/200/FDduXa8Fmz_KmJyPsFTTms00YDykkmlZRu4ev-juBQQ.png"},"warFrequency":"always","clanLevel":1,"clanPoints":6867,"warWins":0,"requiredTrophies":0,"members":12}]}}
  </code></pre>
  
  <p><a href="https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanDetails&amp;clanTag=GG90G8RCU" rel="nofollow">Here is the link</a><br>
  and my PHP code</p>
  
  <pre><code>$json = json_decode(file_get_contents("https://set7z18fgf.execute-api.us-east-1.amazonaws.com/prod/?route=getClanSearch&amp;name=codex2015.asia"));
  $info = "$json-&gt;{'tag'}";
  echo $info;
  </code></pre>
  
  <p>In this case, I want to get tag data, but if I run this script I get nothing.</p>