id, time(), $_POST["name"], strtolower($_POST["name"]), $_POST["url"], $_POST["type"], $_POST["name_html"], $_POST["description"], $_POST["country"], 1 ); $result = mysql_query($query); if ($result) { $teamid = mysql_insert_id(); Header("Location: team_display.php?teamid=$teamid"); } else { page_head("Error"); echo "Couldn't create team - please try later.
\n"; echo "You may need to try a different team name.\n"; page_tail(); } ?>