Delete Data From Database in PHP:

To delete data from database you have to use delete query in PHP.

Syntax:

            $sql = “delete from table_name where column_name =value”;

mysql_query($sql);

Example:

 

Leave a Reply

Your email address will not be published. Required fields are marked *