Vote count:
0
How would I be able to check multiple factors combined instead of checking for each one? So basically I'm using PDO and I have to make sure that the usernames and emails are unique. So how would I do that? I've seen
if ( $sthandler->rowCount() > 0 ) {
// do something here
}
but is there a better way to do it. Also if there isn't can someone explain how I'd work with that.
asked 34 secs ago
Aucun commentaire:
Enregistrer un commentaire