How to use php to extract mysql into json format with one mysql column being the key and another being the value?

前端 未结 0 999
南方客
南方客 2021-01-30 13:51

I am using PHP to connect to the MySQL database and extract JSON. Here is what I am trying to do: mysql-table

Here is my current code. I am querying 2 different tables so

相关标签:
回答
  • 消灭零回复
提交回复
热议问题