D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
realadss
/
kavyaeventz.in
/
admin
/
Filename :
passchange.php
back
Copy
<?php include"connection.php"; $new = $_POST["new"]; $sql = "UPDATE `admin` SET `admin_pass`='$new' WHERE id = '1'"; $query = mysqli_query($conn, $sql); if($query){ echo ' <script> alert("Password Change Successfully"); window.location.href="index.php"; </script> '; }else{ echo ' <script> alert("Something went Wrong ! Try Again Later !"); window.location.href="index.php"; </script> '; } ?>