9 my $dbh = ccbs::db_connect();
12 my $tournament = $cgi->param('tournament');
13 my $nick = $cgi->param('nick');
14 my $country = $cgi->param('country');
15 my $club = $cgi->param('club');
17 $club = undef if ($club == -1);
19 $dbh->do('INSERT INTO players (nick, country, club) VALUES (?, ?, ?)', undef, $nick, $country, $club);
20 my $ref = $dbh->selectrow_hashref('SELECT player FROM players WHERE nick=?',
23 ccbs::print_see_other('registration.pl?id=' . $tournament . '&player=' .