Delete data Using php with backend for beginners

 

Delete data Using php  with backend :-

Code (delete.php) :-

 

 <?php  
 $con=mysql_connect("localhost","root","");  
 mysql_select_db("exam",$con);  
 $i=$_GET['id'];  
 $q=mysql_query("delete from tblpersons where id=$i");  
 header("location:show.php");  
 ?>  


For Full demo with backend please comment we sent you on your gmail..thank you

Comments