<a href='java script:void(0);' onclick=\"if(confirm('Are you sure you want to continue?')) { location.href='admin.php?action=$action&id=$row[0]\"; } else { return false; }'>$row[1]</a><br />
That is all within an echo, and within a while statement.
When I click the link to delete the url, I get no confirmation box, and nothing else happens. Anyone know how to fix this?