📌  相关文章
📜  如何在 mysqli 的数据库中检查该电子邮件是否存在 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:09.329000             🧑  作者: Mango

代码示例1
$select = mysqli_query($connectionID, "SELECT `email` FROM `game` WHERE `email` = '".$_POST['email']."'") or exit(mysqli_error($connectionID));
if(mysqli_num_rows($select)) {
    exit('This email is already being used');
}