Need help checking if an array is empty
Posted: Sat Feb 13, 2010 12:19 pm
Here is what I'm trying:
(obviously $related_keywords is the array)
Since it is set, this doesn't work, even though the elements in the array are empty. Can someone point me in the right direction?
Code: Select all
if (isset($related_keywords)) {
$related_list = ul($related_keywords);
}Since it is set, this doesn't work, even though the elements in the array are empty. Can someone point me in the right direction?