action()
action(resource $db = null) : integer
Saves a run party as a team.
Reads the POST parameters looking for the following KEYS: uid run 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.