Tag Archives: PHP

Converting PHP to JSONP with json_encode

PHP has a nice function called json_encode that will transform a PHP array into a JSON object. This is very useful for converting data and publishing it for use with AJAX requests. When you want your data to be accessible … Continue reading

Posted in Code, General | Tagged , , , | 1 Comment