Hi There,
> Warning: PostgreSQL query failed: ERROR: Bad date external
> representation
> '--' in /var/www/jesus/foniatra/globals.php on line 55
Okay... so that means the variables $fecha_anho, $fecha_mes, and
$fecha_dia are empty.
I'm guessing here, but it might be because you're running a recent
version of PHP where register_globals has been turned off by default.
Try this:
$tdate =
$_REQUEST['fecha_anho']."-".$_REQUEST['fecha_mes']."-
".$_REQUEST['fecha_dia'];
Try echoing $tdate directly after this line to make sure its set
correctly.
Also, in your HTML, it is good practice to always quote parameter
values.
Matthew.
--
Matthew Horoschun
Network Administrator
CanPrint Communications Pty. Ltd.
--
Matthew Horoschun
Network Administrator
CanPrint Communications Pty. Ltd.
Mobile: 0417 282 378
Direct: (02) 6295 4544
Telephone: (02) 6295 4422
Facsimile: (02) 6295 4473