Sorunu çözdüm post'dan gelen değişkeni boş mu dolumu diye kontrol ettirerek '".strtotime("+1 days".$d2)."' olarak sorunu hallettim.