I m in the process of creating a sql table which acts as a stafflist that has several columns like name , number , email and delete.
One webpage on the website gives out the rows of this table and i would like to have a clickable link in the delete column or better said in the delete part of each row that will delete that row from the table. For example a staffmember leaves the company . On the page listing the sql table with last column delete you just press delete in that ex staffmember and that row will be remove from the stafflist table showing up. Some leads i have through research is
<a href="admin.php?action=delete&id=$id">Delete this!</a>
but it doesnt work.Maybe someone has a whole different approach , whatever works Thx