how to use json_encode

前端 未结 2 1403
轮回少年
轮回少年 2020-12-03 02:33

I\'m dealing with highcharts with dynamic data (values retrieved from database). By writing a query i was able to retrieve the following data from the table

         


        
2条回答
  •  情歌与酒
    2020-12-03 02:49

    1. Loop through the database results and put the results in an array
    2. JSON encode the array

提交回复
热议问题