Multiple MySQL table to json_encode

后端 未结 2 1509
深忆病人
深忆病人 2021-01-18 20:56

I have 3 different tables in my database called consoleConsole, consoleModel, and consoleGame. Then what I want to do is that each con

2条回答
  •  终归单人心
    2021-01-18 20:57

    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.

提交回复
热议问题