I have code given below:
$split=explode(' ',$getdate);
$date=$split['0']; //comming 2018-06-04
$newdates = date ($date, strtotime ("+".$days) ) ; //days having 30 value
// $newdate = date ( 'Y-m-d' , $newdates );
$currentdate=date('Y-m-d');
echo "<pre>";print_r($newdates);
but its not adding the 30 days in the current date can anyone please help me related this