/[webwml]/newmaint/gpgplace.wml
ViewVC logotype

Diff of /newmaint/gpgplace.wml

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

revision 1.35 by weasel, Sun Nov 18 02:30:15 2001 UTC revision 1.36 by tbm, Sun Nov 18 20:53:10 2001 UTC
# Line 29  You should not be here!</STRONG> Line 29  You should not be here!</STRONG>
29      # user pressed submit      # user pressed submit
30    
31      if ($city || $country) {      if ($city || $country) {
32          $sql = "SELECT id FROM people2 WHERE email = '$s_username'";          $sql = "SELECT id FROM people WHERE email = '$s_username'";
33          if (! ($result = pg_exec($db, $sql))) {          if (! ($result = pg_exec($db, $sql))) {
34              echo "Problem with query", pg_ErrorMessage($db), "<BR>";              echo "Problem with query", pg_ErrorMessage($db), "<BR>";
35              return FALSE;              return FALSE;
# Line 42  You should not be here!</STRONG> Line 42  You should not be here!</STRONG>
42          $who = $row["id"];          $who = $row["id"];
43    
44          $now = strftime('%Y-%m-%d');          $now = strftime('%Y-%m-%d');
45          $sql = "UPDATE people2 SET last_update = '$now' WHERE id = '$who'";          $sql = "UPDATE people SET last_update = '$now' WHERE id = '$who'";
46          if (! ($result = pg_exec($db, $sql))) {          if (! ($result = pg_exec($db, $sql))) {
47              echo "Problem with query", pg_ErrorMessage($db), "<BR>";              echo "Problem with query", pg_ErrorMessage($db), "<BR>";
48              return FALSE;              return FALSE;

Legend:
Removed from v.1.35  
changed lines
  Added in v.1.36

  ViewVC Help
Powered by ViewVC 1.1.5