4
I have a form with a rental register. In it, I have the fields $datainicio
, $meses
and $datatermino
. The start date I put automatic, according to the date of the day. The months must be placed at the time of registration, being 6, 12, 18, 24, 36, 48 or 60 months.
My problem is this: I would like to take the variable $datainicio
and add with the variable $months to get the value of $datatermino
, all this at the time of registration.
I know that with pure PHP I can’t do it. I have difficulties with jQuery. I would like your help.
$datainicio + $meses = $datatermino.
Yes it is possible with pure PHP, believe me!
– rray
Really? If you have any references... I figured it wasn’t possible...
– Hebert Richard