Here is a simple trick to get next and previous day with php.
For next day
date('Y-m-d', strtotime($date .' -1 day'));
For previous day
date('Y-m-d', strtotime($date .' +1 day'));
Here is a simple trick to get next and previous day with php.
For next day
date('Y-m-d', strtotime($date .' -1 day'));
For previous day
date('Y-m-d', strtotime($date .' +1 day'));