24 hours of values

后端 未结 3 1781
离开以前
离开以前 2021-01-25 17:38

I have a sql table : date (Y-m-d) / time (00:00:00) / power (INT)

When I select a date from an inline datepicker, I am trying to post 3 HighCharts graph (one-24 hours, t

3条回答
  •  梦谈多话
    2021-01-25 18:17

    Thank you everyone for all your help !

    The problem was in the first string, I only had to change the date format in addition to your wonderful examles !

    $choice = (isset($_POST['choice'])) ? date("m",strtotime($_POST['choice'])) : date("m"); 
    

    Thank You Very Much !

    Alan

提交回复
热议问题