Escape A php script to pull data from MySQL db and create a JSON file. Dropped Additional notice, I've dropped this because I cannot find a way to reliably determine relationships between tables. Usage cd /to/directory/ php -f main.php