delete mysql database table using php

 <?php

$servername="localhost";
$username="root";
$password="";
$dbname="shrisha";

$conn=mysqli_connect($servername,

$username,$password,$dbname);

$sql="DELETE FROM tbl WHERE id=02";

mysqli_query($conn,$sql);

mysqli_close($conn);

?>

Comments

Popular posts from this blog