Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Working with calculated dates in PhP

$
0
0
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

Viewing all articles
Browse latest Browse all 2586

Latest Images

Trending Articles



Latest Images