Hi I would like to check the for the page id eg. if pid <> 1 then do this else do that end Whats the correct syntax to do this. Thank you in advance Regards Sandiso --------------------------------- Cheap Talk? Check out Yahoo! Messenger's low PC-to-Phone call rates.