I\'ve got a script that allows a user to create a group which can be identified by the variable group_id. After the creation process is complete, my script checks the database for the latest group_id to be entered and uses that id to enter the group lobby automatically.
The problem comes about if a person creates a group and is just about to be forwarded to his/her lobby when another user also creates a group and the script takes the second person\'s group_id as the latest entry.
Any ideas on how to get around this?