2 Replies Latest reply on Jan 6, 2011 5:44 AM by Not_Relevant

    MySQL queries through HTML Links

    Not_Relevant Level 1



      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?