Also, in this case, I would use empty() to test the variable!
>Go to the command window and type these lines, and take a look at what they give back:
>
>? "A" = "ABC"
>? "ABC" = "A"
>? "" = "A"
>? "A" = ""
>? "" == "A"
>? "A" == ""
>
>I think that will get you on the right track!
--Todd Sherman
-Wake Up! Smell the Coffee!