date("d.m.Y",strtotime('+1 days'));yukarıdaki kod ile tarihe 1 gün ekleyebiliyoruz fakat benim bu tarihi $gun değişkeni ile gelen sayı ile yazdırmak istiyorum bunu nasıl yapabilirim?
PHP Tarihe Gün Ekleme ile İlgili Sorun
2
●70
- 20-09-2023, 02:07:54Merhabalar,
- 20-09-2023, 02:11:55Üyeliği durduruldu
echo date("d.m.Y",strtotime($gun,strtotime("+1 days")); - 20-09-2023, 02:14:11Cevabın için teşekkürler ama şu şekilde çözdüm

echo date('d.m.Y', strtotime($tarih . ' +' . $gun . ' days'))
