$result = $db->execute("
INSERT INTO arrowchat_chatroom_rooms (author_id, name, description, welcome_message, image, type,password, length, max_users, session_time, limit_message_num, limit_seconds_num)
VALUES ('" . $db->escape_string($userid) . "',
'" . $_POST["add_chatroom_name"] . "',
'" . $_POST["add_chatroom_desc"] . "',
'" . $_POST["add_chatroom_welcome_msg" . "',
'" . $db->escape_string($icon_filename) ."',
'". $_POST["add_chatroom_type"] . "',
'" . $_POST["add_chatroom_password"] . "',
'" . $_POST["add_chatroom_length"] . "',
'" . $_POST["chatroom_max_users"] . "',
'" . time() . "',
'" . $_POST["limit_message_num"] . "',
'" . *_POST["limit_seconds_num"] . "')"
);
return http 500 x_x