I have this code in a before record event to enter a future date column Expdate.
$values['expdate']=date('Y-m-d', strtotime('+7 days'));
I get the following error
<<< Record was NOT added >>>
Column 'Expdate' specified twice
Any pointers would be appreciated
Thanks
Peter G
$values['expdate']=date('Y-m-d', strtotime('+7 days'));
I get the following error
<<< Record was NOT added >>>
Column 'Expdate' specified twice
Any pointers would be appreciated
Thanks
Peter G