hi guys,
I got the following error in my log files when i run a sql statement that does not return a value for fields ina recordset
[Thu May 8 16:30:50 2003] missing_fields.cgi: no statement executing at /home/troyr/public_html/2002/platypus_contacts/tools/missing_fields.cgi line 56.
The program continues to run no worries, i've got a feeling its something to do with the driver i'm using
DBI:Sybase:server
and the fact that i'm using
selectall_arrayref & selectrow_array
when i do the same thing with a postgres dbase using dbi
g i don't have any problems.
does anyone know how to stop these messages popping up in my log files?
Thanks in advance
I got the following error in my log files when i run a sql statement that does not return a value for fields ina recordset
[Thu May 8 16:30:50 2003] missing_fields.cgi: no statement executing at /home/troyr/public_html/2002/platypus_contacts/tools/missing_fields.cgi line 56.
The program continues to run no worries, i've got a feeling its something to do with the driver i'm using
DBI:Sybase:server
and the fact that i'm using
selectall_arrayref & selectrow_array
Code:
my $cmdId="select id from customer " .
"where username='$username' " ;
my $id=$dbh->selectrow_array($cmdId) or die $dbh->errstr ;
when i do the same thing with a postgres dbase using dbi
does anyone know how to stop these messages popping up in my log files?
Thanks in advance