How can I parse JSON data from an API call?

Here’s what I have at the moment:

    $string = file_get_contents("");

<script type="text/javascript">
        alert("<?php echo $json; ?>");

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.

Leave a Reply


Hire Me
Follow Me!
Most Popular Articles & Pages
Because your vote is Important
Sorry, there are no polls available at the moment.