Delete query in mysql and php used
Delete single row query with where condition
<?php
$sql="delete from 'your table name ' where id ='4'";
?>
Delete single row query with multiple where condition
<?php
$sql="delete from 'your table name ' where name ='sam' and city='delhi' and gender='male' ";
?>
Delete single row query with where condition
<?php
$sql="delete from 'your table name ' where id ='4'";
?>
Delete single row query with multiple where condition
<?php
$sql="delete from 'your table name ' where name ='sam' and city='delhi' and gender='male' ";
?>
Comments
Post a Comment