Viewing file: delete_fdaccount.php (705 B) -rw-r--r-- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php $keywords = $_GET['ID']; echo $keywords; $con=mysqli_connect("localhost","sarkmicr_user","rb!sar838","sarkmicr_data"); // Check connection if (mysqli_connect_errno()) { echo "Failed to connect to MySQL: " . mysqli_connect_error(); }
$sql = "DELETE FROM new_acc WHERE ID='$keywords'";
if (!mysqli_query($con,$sql)) { die('Error: ' . mysqli_error($con)); }
mysqli_close($con);
?> <table width="300" border="0" cellspacing="10" cellpadding="10"> <tr> <td>Your Record is Successfully Deleted <br> <input type="button" value="BACK" onclick="window.location.href='accountlistfd.php';"/> </form></td> <td><form action=""></form> </td> </tr> </table>
|