JavaScript confirm box not appearing on PHP page
<p>Can anyone see why this line in PHP doesn't work. The game card is deleted, but the confirm box does not appear for the user to okay or cancel.</p>

<pre><code>echo "&lt;a href='gamecard.php?selection=" . $row['gamedate'] . " onclick='return confirm('Delete game card?');'&gt;Delete&lt;/a&gt;";
</code></pre>

<p>Thank you.</p>
