I have 3 different tables in my database called consoleConsole, consoleModel, and consoleGame. Then what I want to do is that each con
consoleConsole
consoleModel
consoleGame
Since you are using php function to encode json , it will give you the json in its default format. what you have to do is create your own function using string manipulation to get desired result.