Does anyone know the format of a date variable for Oracle's OCIBindByName?
Both:
$datevar = time();
OCIBindByName($stmt,':datevar',$datevar);
And:
$datevar = '2001-11-22';
OCIBindByName($stmt,':datevar',$datevar);
do not seem to work. Thanks in advance for your help! I'm using PHP 4.0.4 on Windows ME.
Regards, John
Both:
$datevar = time();
OCIBindByName($stmt,':datevar',$datevar);
And:
$datevar = '2001-11-22';
OCIBindByName($stmt,':datevar',$datevar);
do not seem to work. Thanks in advance for your help! I'm using PHP 4.0.4 on Windows ME.
Regards, John