session_start(); if(!isset($_SESSION['uid'])) { die(); } include('config.php'); include('functions.php'); if($_GET['go_home'] == 1) { mysql_query("UPDATE `users`,`online` SET `users`.`room` = '2702',`online`.`room` = '2702' WHERE `online`.`id` = `users`.`id` AND `online`.`id` = '{$_SESSION['uid']}' ;"); header('location: city.php'); } ?>