how add confirmation box in php before deleting

Solutions on MaxInterview for how add confirmation box in php before deleting by the best coders in the world

showing results for - "how add confirmation box in php before deleting"
Luca
24 Nov 2019
1echo "<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!