Alright, I added the comma to my code and it worked.

NTDOC, I will try out your code as well.
Questions though?
Because this is going in a login script, should I add anything else in the code so that it doesn't run everytime a user logs in?


Thanks to all