Also, remember to set the default home_room in the users table, so when people register it's automatically set to this figure.Just run this query,
Code:UPDATE users SET home_room = 'ROOMID';
UPDATE users SET home_room = 'ROOMID';What do you mean???
oo ok, thanks!UPDATE users SET home_room = 'ROOMID';
> This updates all existing users homeroom.
But you also need to set the default so that all future users who register have the desired homeroom.
ALTER TABLE users ADD CONSTRAINT DF_homeroom DEFAULT 'ROOMID' FOR home_room;
> This sets default for all future users.
(Replace 'ROOMID' with your desired room id).