Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check null in_array php

if (!empty($data_days) && in_array(1, $data_days, true)){ // use numeric value 1, not string
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #check #null #php
ADD COMMENT
Topic
Name
4+7 =