 $admin_passwd = $link->prepare("SELECT `password` FROM `admins` WHERE `username` = :admin_pw"); $admin_passwd->execute(array(':admin_pw' => $admin)); $admin_pwd = $admin_passwd->fetch(PDO::FETCH_ASSOC);  