/[webwml]/newmaint/common.inc
ViewVC logotype

Diff of /newmaint/common.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by tbm, Sat Feb 1 14:15:09 2003 UTC revision 1.5 by tbm, Sat Feb 1 14:25:44 2003 UTC
# Line 37  Line 37 
37      return TRUE;      return TRUE;
38    }    }
39    
40    function log($db, $who, $manager, $action, $name, $email) {    function logger($db, $who, $manager, $action, $name, $email) {
41        $sql = "INSERT INTO log (who, manager, action, name, email) VALUES ('$who', '$manager', '$action', '$name', '$email')";        $sql = "INSERT INTO log (who, manager, action, name, email) VALUES ('$who', '$manager', '$action', '$name', '$email')";
42        if (! ($result = pg_exec($db, $sql))) {        if (! ($result = pg_exec($db, $sql))) {
43            echo "Problem with interrogating database: ", pg_ErrorMessage($db), "<BR>\n";            echo "Problem with interrogating database: ", pg_ErrorMessage($db), "<BR>\n";

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

  ViewVC Help
Powered by ViewVC 1.1.5