
Have some data in a MySQL database and want to output them as valid JSON? with a little help from PHP? this sample code below shows how to accomplish just that in 2 easy step. First, we need to set the header in our .php file to behave or output the content as JSON, for […]