/extremedating/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/extremedating/trunk

« back to all changes in this revision

Viewing changes to removedate.php

  • Committer: Gustav Hatvigsson
  • Date: 2013-04-14 12:06:35 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20130414120635-0r1z7vtwcc9hq7xn
made it possible to decline and accept dates

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
    OR (user2='{$_POST['user1remove']}' AND user1='{$_POST['user2remove']}');"
12
12
    );
13
13
echo "aoeu";
14
 
      $db->exec("DELETE FROM planLunch WHERE(user2='{$_POST['user2remove']}' AND user1='{$_POST['user1remove']}')");
15
14
      $db->exec("DELETE FROM planLunch WHERE(user2='{$_POST['user1remove']}' AND user1='{$_POST['user2remove']}')");
16
15
      header("Location:profile.php?uid=" . $_POST['user1remove']);
 
16
      sleep(1);
17
17
  }
18
18
  header("Location:./profile.php");
19
19
}