I have the following query :
$sql = $conn->prepare("SELECT * FROM users WHERE log_id = ? AND activated = \'1\' "); $sql->bind_param("s&q