Hi
I have a simple login script. At the moment it stores the cookies with just the username and password that the user specified But i would like it to also store the group that the user is in, in the cookie. The group is specified along side the username and password collom in a mysql table called "login". So im guessing i would need some sort of mysql query.
I was wondering if anyone can tell me how to do this.
The bit bellow is only part of the script
thanks
chris