Hi,
Does anyone know what is wrong with this script?
$today = '1/1/2000';
$name = 'jwmaarse';
$connection = 'OCILOGON("TEST","TEST","TEST");
$query = "INSERT INTO MYLOG (NAME, LAST) VALUES ('$today','$name')";
$stmt = OCIParse($connection,$query);
OCIExecute($stmt);
This will give the error:
"not a valid month"
When I change today to '1 jan 2000' this problem is solved, but the Oracle says it is a wrong date.