DELETE tutorial in php

 DELETE Syntax :

DELETE FROM table_name WHERE condition;


If we want to DELETE any particular record from table name "personal" using DELETE then we can use  below query : 

While performing DELETE query, there must be condition otherwise all records will be deleted.

DELETE FROM personal WHERE id = 30;

Comments

Popular posts from this blog

Ajax Insert Records in Database Tutorial in PHP

Arithmetic Operators Tutorial in PHP

Displaying Database data using Class, Object, Constructor, Destructor in PHP MySql