MySQL Examples08 May 2006 10:40 am
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:
-
$deleteSQL=("DELETE * FROM tblstudent WHERE fldstudid=2");