I am using this code. In column there are values of 2020-07-06 11:59:34 and 2020-07-06 11:59:45. I don't want to compare time but only date. I want to check if column value is today date. But the output of this code is 0.
require_once "connect.php";
$followers = $conn->query("SELECT * FROM followers WHERE DATE('created_date') = CURDATE() and profile_id=1");
echo $followers->num_rows;