How to ignore if array(0) is null php
When i am print the value the array is like this: Array ( [0] => )
if i print count($testArray) it is showing 1
But if the array value is comes like this i don't want to insert it into the database. Please suggest how can i do this.
Update:
var_dump result: array(1) { [0]=> string(0) "" }