Advertisement
Knilayan

Untitled

Oct 20th, 2014
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.51 KB | None | 0 0
  1.  
  2.                         <?php
  3.                        
  4.                         $servername="localhost";
  5.                         $username="root";
  6.                         $password="";
  7.                         $databasename="form";
  8.  
  9.  
  10.                            
  11.                         $connect=mysql_connect($servername,$username,$password);
  12.                         $select_db=mysql_select_db($databasename);
  13.  
  14.                         $strquery=" DELETE from personal_tbl where no = '" . $_GET['no'] . "' ";
  15.                        
  16.                         $results=mysql_query ($strquery);
  17.                         echo "<script>alert('Successfully Deleted');</script>";
  18.                         header ('location:viewalldelete.php ');
  19.                         ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement