R RetroRP New Member Mar 1, 2013 28 0 Mar 18, 2013 #1 I wanna update homeroom for everyone.. But I need a fix on my code to insert, Here is my code: Code: SELECT * FROM `users`; Update TABLE='users' set home_room='222' Can anyone correct the code for me? As its not working for me haha
I wanna update homeroom for everyone.. But I need a fix on my code to insert, Here is my code: Code: SELECT * FROM `users`; Update TABLE='users' set home_room='222' Can anyone correct the code for me? As its not working for me haha
Lionches . Jan 17, 2012 649 166 Mar 18, 2013 #2 Code: UPDATE `users` SET `home_room` = 222 Upvote 0 Downvote
F Find Posting Freak Jun 21, 2012 597 189 Mar 18, 2013 #3 also go onto design table and change the default value to the room id Upvote 0 Downvote
R RetroRP New Member Mar 1, 2013 28 0 Mar 18, 2013 Thread starter #4 Nvm I fixed it.. The code was Code: ALTER TABLE `users` MODIFY COLUMN `home_room` int(10) UNSIGNED NULL DEFAULT 0 AFTER `ip_reg`; Upvote 0 Downvote
Nvm I fixed it.. The code was Code: ALTER TABLE `users` MODIFY COLUMN `home_room` int(10) UNSIGNED NULL DEFAULT 0 AFTER `ip_reg`;