null is not the same as 0. 0 is a valid value, null means there is no value. values has no value ie it is null.
Type: Posts; User: Norm
null is not the same as 0. 0 is a valid value, null means there is no value. values has no value ie it is null.
Can you compile and execute the code to see what it does?
What other forums is this posted on?