Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php function

 $myarray = array_filter($myarray, 'strlen');  //removes null values but leaves "0"
 $myarray = array_filter($myarray);            //removes all null values
 
PREVIOUS NEXT
Tagged: #php #function
ADD COMMENT
Topic
Name
3+2 =