How can I check if any of the arrays contains empty fields (they are both dynamic arrays so the empty value can be in any index in both of them)?
Array1 ( [0] => dfsg [1] => dfasg [2] => d5g [3] => )
Array2 ( [0] => d54fgv [1] => [2] => df4g4 [3] => d645 )
It would be good to know at which index as well, otherwise, just to know if there is any empty fields.
array_search()to search for an empty string.array_searchreturns the index.