This Im hoping is a very simple question.
How would I add 1 day to the
$value= $defvalues["purchase_date"];
in my purchases_add.php.
The value is a Date field in MySql database.
On creating a new invoice, I would like the purchase date to be 1 day later than the value stored in the
$defvalues["purchase_date"] which is being correctly set to the expiry date of the last purchase.