I have database with Name, email, joindate and my Query is
$name=$_POST['txtname'];
$email=$_POST['txtemail'];
$date = date("Y/m/d");
INSERT INTO member (name,email,joindate) VALUES ('$name', '$email', '$date')
What should be the output query to get all data by month?