$dbh->do('INSERT INTO tournamentparticipation (tournament, player, paid) VALUES (?,?,?)',
undef, $tournament, $player, $paid);
-ccbs::print_see_other('registration.pl?id=$tournament');
+ccbs::print_see_other('registration.pl?id=' . $tournament);
$dbh->disconnect;
ccbs::print_header();
ccbs::process_template('registration.tmpl', $tournament->{'tournamentname'}, {
+ tournament => $tournament,
registered => $registered,
available => $available
});
<div>
<form method="post" action="do-registration.pl">
- <input type="hidden" name="tournament" value="[% tournament.id %]" />
+ <input type="hidden" name="tournament" value="[% tournament.tournament %]" />
<table>
<tr>
<th>Spiller</th>