I have the following application:
global $conn;
if($values['Tipo'] == 'Fatura')
{
$strSQLInsert = "insert into faturas (total, expiration_date)
value('".$values["total'".$values["current_date"]."')";
db_exec($strSQLInsert,$conn);
}
I would like to add thirty days from the current date
in other words
expiration_date = current_date + 30 days
Thank you for your cooperation