Get and find only Sunday Date List between two date PHP Mysql

Description

How to Get only one day between two date PHP Mysql year wise find if condition while loop Find and get List every Sunday day between two dates Week wise list current date Get and Find List of day wise date Between Two start and end Dates with PHP Mysql

Used this topic in Show the only sunday gift offer sale offer coupen list

weekly one day offer display show absent day in Attendance list

 

set the two condition if while

 

 

 

$start_date=strtotime("01-11-2017");

$end_date=strtotime("25-11-2017");

while(1){

  $start_date=strtotime('next sunday', $start_date);

  if($start_date>$end_date)

    break;

 // echo "Next Sunday: ".date("d M Y",$start_date)."</br>";

  

  echo "Next Sunday: ".date("Y-m-d",$start_date)."</br>";

 

}

?>