action()
action(resource $db = null) : integer
Logs the user out and redirects to the login page.
Reads the POST parameters looking for the following KEYS: uid area_type area stage difficulty ids name description Validates the data and creates the team in the database.
Parameters
| resource | $db | Database connection. |
Returns
integer —0 on success, negative values on error.