DON'T DO THAT, IT WILL GET DELETED IMMEDIATELY! CODE TAGS ARE A TRAP MODERATORS USE!
ogkid101 please ignore what curiously enough says here and do use code tags they make your code easier to read.
What curiously enough is referring to is the rule against posting a full code solution. You need not worry about this as you have not even told us what your full solution is meant to do let alone posted it. Posting a single if statement like that is perfectly OK.
The title of your thread leaves a lot to be desired though and I am renaming this thread to have a better name.
Please read our
posting guidelines.
curiously enough you may wish to re-read the guidelines too, posting in all capital letters is a warnable (and therefore banable) breaking of the guidelines. Not that I am doing either in this case.