#36 - Saving participant choices in database
Fixes #35 - refactoring database error code into database.php