delete confirmation message in javascript php code example
Example 1: javascript onclick alert are you sure
<a href="#" onclick="return confirm('Continue?')">DISABLE</a>
Example 2: how add confirmation box in php before deleting
echo "<td><a onClick=\"javascript: return confirm('Please confirm deletion');\" href='delete.php?id=".$query2['id']."'>x</a></td><tr>"; //use double quotes for js inside php!