I want to add an option in my app to ask a user once he clicks on delete button
if he is sure he want to delete a record or no.
Can anyone show me how to code this in PHP/mysql.
Thank you in advance
Showing you the exact code would not help you learn how to do this. If you can post what you have done already we can assist you if you are having problems.
Step 1 - Make sure all user input is validated, output sanitized, and that the data being deleted/checked/viewed is actually there.
Step 2 - List the records with action links
Record 1 - View - Delete
Record 2 - View - Delete
Record 3 - View - Delete
Step 3 - Process the user's request using a link or ajax call to the server.