문제

I found some problem about bindvalue and can't find a solution. this is my code it are work great if in put email like this "abc@aaamail.com" but my problem is when user are input email like "abc.def@aaamail.com" this query it not work. I don't know why and how to fix it anybody can explain to me?

$email  = trim($_POST['email']);
$result = $conn->prepare("SELECT * FROM `memberlist` WHERE email = :email");
$result->bindValue(':email', $email);
$result->execute();

올바른 솔루션이 없습니다

다른 팁

There is not a single problem about bindValue. It works with any data.

anybody can explain to me?

Just make sure it's indeed bindValue or any other code to blame. Then fix that other code.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top