periksa null in_array php

if (!empty($data_days) && in_array(1, $data_days, true)){ // use numeric value 1, not string
Indian Gooner