This "onclick" funcsion in JavaScript in a link on a .php script is supposed to give me a warning before proceeding to the deletion script, but it doesn't. What am I missing?
PHP Code:
<p><a href='admin/users/delete_msgs.php?id=<?php echo($userIDnum);?>' onclick=\"return confirm('Really want to delete this?');\">Delete all messages</a></p>