Citation de code source en PHPn° 104
20 August 2014 à 09:04
if (q.exec('SELECT * FROM admins WHERE username LIKE :username AND password LIKE :password', user, pass).num() > 0) {
... giving admin privileges ...