You are here:Home1/PHP-FPM2/Generate JSON structured data with php
Sometimes you might want to generated JSON data dynamically. Below is the php code to achieve that . The $global variables are variables taken from the php page it self. For example you might have some variables stated in the top of the page and use those for the json generation script.