Chartjs-Laravel DB select statement. Query returns column name as result rather than values

0👍

i donn’t know i am not sure about your question

$testArray = array(
            "2017-07-03" => array("male" : "0","female" => "10"),
            "2017-07-04" => array("male" : "0","female" => "0")
    );
    return $testArray;

Leave a comment