Let's say I have a MySQL table of the records of my employees. There are three columns in that table: Name of the employee, Department in which he works and the employee's date of birth.
By using mysql_fetch_array() function and while() loop I display the records of my database in the HTML.
And it looks like this:
Let's say one of the employees leaves my company and I want to delete him from my database. I want to have a HTML link next to each of the records which would delete that record when pressed.
How do I do that?
So your employees table does not have the usual "employee_id" sort of int/unsigned/autoincrement column which you could utilize by passing the corresponding value to another PHP document which could contain a standard Dreamweaver Delete Record server behavior ?
Thanks mate, helped me a lot.