I have a php/mysql project. When the admin deletes a customer or product from the database on the form I need an confirm box to show and ask the admin if they are sure they want to delete and have the customer row show in the confirm also.
Here is my form
<main>
<form class = "form" method = "post" action = "customerdeleted.php">
<div class = "grayContainerProduct">
<div class = "formContent">
<div class = "productTitle">
Delete A Customer
</div>
<div class = "field">
<label class = "productText" for = "id">Customer ID</label>
<input class = "productInput" id = "id" name = "id" type = "text">
<div class = "buttonDiv">
<input type = "submit"class = "button" id = "buttonDelete" value = "Delete">
</div>
</div>
</div>
</form>
</main>
Cheers