Home forums Using CanvasJS Apply dropdown filter in php with database search Reply To: Apply dropdown filter in php with database search

#25225

Thanks so much! It worked now because I forgot to remove the strtotime() conversion code in getData.php file which I don’t need in my case

array_push($data_points, array("label"=> strtotime($row->skill), "y"=> $row->count)); //mistake
array_push($data_points, array("label"=> ($row->skill), "y"=> $row->count)); // corrected