Processing JSON data
Ensure that your web server is running and you have access to the web root where you can save/upload the files that you will create as part of this recipe.
How to do it…
- Create a PHP file named
request-3.phpand save it to the web root of your web server. Use the following PHP code to create and output a list of names as JSON data:
<?php //Create an array of ...