How can I check an array recursively for empty content like this example:
Array ( [product_data] => Array ( [0] => Array
If your array is only one level deep you can also do:
if (strlen(implode('', $array)) == 0)
Works in most cases :)