The Delete command is used to delete the records from a table using conditions as shown below:

Syntax:

$deleteSQL=("DELETE * FROM tablename WHERE condition");

Example:

CODE:
  1. $deleteSQL=("DELETE * FROM tblstudent WHERE fldstudid=2");