I have got a CCK field set up so that unlimited values can be entered upon node creation (number of values: unlimited).
When I try to print values in a node with the following code
if ($node->field_tip != NULL) {
foreach ((array)$node->field_tip as $tip) {
print "<div class='tip'>" . $tip['view'] ."</div>";
}
}
or I print count($node->field_tip)
, the value is never less than 1, and <div class='tip'></div>
is always displayed, even if there aren't values entered in that field.