Forum Moderators: coopster
I think I'm approaching ths problem the wrong way. Is there some sort of function I can check to see if $items[0]['store-offer_store-name'] actually has a value?
Also when I tried to print out $items[0]['store-offer_store-name'], I got something like this...
Array['store-offer_store-name']
Thanks for any help.
i don't think you need to do any!isset() or == "" to check the value of any variable, including part of an array.
if the value of the $var is 0, empty, NULL or FALSE, it returns a false value, otherwise it returns true,
so the simple statement if ($var) or if (!$var) is enough without all the isset, etc
re: irock's array, it looks like there is something wrong with the array itself as opposed to the checking?