I want to fetch records from the DB from one date to the second I have to fetch records but it's not giving me a record of the last date.
$query = "SELECT `date_of_info_added` , `sub_source` FROM `jcontacts` where date_of_info_added >= $month and date_of_info_added <= $end ORDER BY date_of_info_added DESC";