LinusIT - 8:27 am on Nov 9, 2011 (gmt 0)
Thank you for that Rocknbill, I wasn't sure of the correct way to use switch & case. It's working fine now and I've implemented this across my site. I did have to add break; in some places though.
Thanks again for everyones help.