check for NULL variable

Hello

I want to check for NULL variable..

but this is not working..please help

thanks in advance
esham

The first one is right if you put a space before the -z. For the second one switch to -n to test for non-null.

that worked
Thanks a lot :):):))

esham