Return to lonsql CVS log | Up to [LON-CAPA] / loncom |
version 1.75, 2006/02/10 09:47:36 | version 1.76, 2006/02/10 09:51:27 |
---|---|
Line 547 sub do_sql_query { | Line 547 sub do_sql_query { |
# | # |
if ($query) { | if ($query) { |
#prepare and execute the query | #prepare and execute the query |
&logthis($query); | |
my $sth = $dbh->prepare($query); | my $sth = $dbh->prepare($query); |
unless ($sth->execute()) { | unless ($sth->execute()) { |
&logthis('<font color="blue">'. | &logthis('<font color="blue">'. |