Posts by emad kutkut

    i have a problem in this file (Script) Password Admin invariably, what is the correct settings for this script to give permission to change password Adamin This is the script that you want to modify





    php
    function verify_Username_and_Pass($un, $pwd) {
    $query = "SELECT *FROM members
    WHERE username = ? AND password = ?
    LIMIT 1";


    if ($stmt = $this->conn->prepare($query)) {
    $stmt->bind_param('ss', $un, $pwd);
    $stmt->execute();
    unset($query);


    if ($stmt->fetch()) {
    $stmt->close();
    return true;