Update and Delete Record Using PHP and MySQL

Update and Delete Record Using PHP and MySQL


UPDATE  Query : 

To Update data in your Database

Syntax:

UPDATE Table_name SET column=value WHERE other_column = other_value



DELETE Query

To delete the record from your Database

To delete the data frothe m database you should use the DELETE query, the syntax is given below:

DELETE  FROM Table_name WHERE column = value



                                                                                                                        HAPPY CODING😍

Comments

Popular posts from this blog

Validation Code For Phone Number Using preg_match() in Php

Writing data to a file using Python