Home >> PHP >> How to delete data from mysql database in PHP

How to delete data from mysql database in PHP


     $delete="DELETE FROM users WHERE user_id='".$_GET['user_id']."'";
         echo "Data deleted successfully";
     } else {
         echo "Data not deleted";

Post Your Comment

Next Questions
How to list data from mysql database
What is object oriented programming (oops)
What is class
What is object
What is static variable
What is static method
What is constructor
Why use constructor
Predefined constructor
Parameterized constructor
What is destructor
What is Polymorphism
What is Polymorphism types
What is overloading
What is overriding
What is abstraction
What is abstract class
Implementation of abstract method
What is interface
What is difference between abstract class and interface
What is inheritance
Inheritance types
What is single inheritance

Copyright ©2022 coderraj.com. All Rights Reserved.