bonjour, j'ai un non object quand j'essaie de faire un bind_param()... si qq'un peut m'aider svp...
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13 public static function authenticate($username, $password) { $connection = Connection::connect(); $stmt = $connection->prepare("SELECT ID, USERNAME,DROITS FROM WEB_USERS WHERE USERNAME =? AND motpasse =?"); $stmt->bind_param('ss',$username,$password); ... }
Partager