Thank you so much for your help Bro Olaf,
It solved with option :
CODE :
$FOXDATE = DATE('Y-m-d',strtotime($PHPDATE));
...
$SQL="INSERT INTO MASTER (DATEBIRTH) VALUES ({^$FOXDATE})";
Regards,
I made an HTML and PHP application using a DBF database via an ODBC connection, as follows:
FOXPRO DATABASE (MASTER.DBF) :
Employee Character 50
Datebirth Date 8
CODE HTML :
Date Of Birth : <input TYPE="DATE" NAME="VARDATE">
I fill data/variable => 12-08-1970
CODE PHP :
//convert variable...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.