Using following HTML Code please show me how to write PHP code to accept and delete the incoming data entered through the form below. from the following MySQL database and table.
Database = hrms
Table = Student
Fields = StdNo(Number), Name(String), Address(String), Contact No(String)
Student No<Input type='text' name='txtStdNo' /> <br>
Name<Input type='text' name='txtName' /> <br>
Address<Input type='text' name='txtAdd' /> <br>
Contact No<Input type='text' name='txtTel' /> <br>
<input type='submit' name='cmdDelete' value='Delete' />
<input type='submit' name='cmdRetrieve' value='Retrieve' /
<input type='submit' name='cmdUpdate' value='Update' />
<input type='submit' name='cmdClose' value='Close' />