Answers for "how to check if database already contains information php"

PHP
1

php if string is already in database

$check_email = $pdo->query("SELECT * FROM users WHERE email='[email protected]'");
if ($check_email) {
    // found
}
Posted by: Guest on July-21-2021

Code answers related to "how to check if database already contains information php"

Browse Popular Code Answers by Language