Maybe the array is returning more than you expect. Put square brackets around your test to see.

'['+$range[$counter,0]+']' ?


Edited by Les (2006-05-04 01:56 AM)
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.