userid != $user->id) { echo "Not your host\n"; exit(); } $retval = mysql_query("update host set venue='$venue' where id = $hostid"); if ($retval) { Header("Location: show_host_detail.php?hostid=$hostid&private=1"); } else { db_error_page(); } ?>