D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
balhit1357
/
balhit.ac.in
/
bal-vidyalaya
/
admin
/
Filename :
deleterec.php
back
Copy
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php include 'include/connection.php'; $sr = $_GET["sr"]; $cn = $_GET["cn"]; //echo "delete from productdetail where cdno='$sr' and catalougeno='$cn'"; $rs = mysqli_query($link, "delete from productdetail where cdno='$sr' and catalougeno='$cn'"); ?> <input type="hidden" name="txtsr" id="txtsr" value="<?php echo $sr; ?>" /> <script> var ssrr = document.getElementById('txtsr').value; window.location.href="editreport.php?id="+ssrr ; </script> </body> </html>