Must be having a brain fart i'm getting the date from a client in a form and number of days. I need to calculate the date which is equal to the date + the number of days. dd/mm/yyyy should be the end result. What is the php code for this?
That will add one day to the date: function next_day($nyear, $nmonth, $nday) { return date ("Y-m-d", mktime (0,0,0,$nmonth,$nday+1,$nyear)); } PHP: