Here's what I have at the moment:
<?php
$string = file_get_contents("http://api.steampowered.com/ISteamUser/GetPlayerSummaries/v0002/?key=##################################&steamids=76561198040884950");
$json=json_decode($string);
?>
<script type="text/javascript">
alert("<?php echo $json; ?>");
</script>
All I'm trying to do at this stage is receive the JSON information. I'm quite new to jQuery and PHP so not sure where I'm going wrong.