summaryrefslogtreecommitdiff
path: root/doc/niels-diplom/Dateistruktur/logout/save.php
diff options
context:
space:
mode:
authorJan Klemkow <j.klemkow@wemelug.de>2012-11-22 09:19:22 +0100
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-01-24 12:30:09 +0100
commit370168684765919be5da44851060e641fd502dfc (patch)
tree71dd4aea9fb3679921d3f0f7a52615f871718982 /doc/niels-diplom/Dateistruktur/logout/save.php
parentbde079b899066bec3b89b3ac659bec00a73afe8c (diff)
downloadsqltutor-plugin-370168684765919be5da44851060e641fd502dfc.tar.gz
sqltutor-plugin-370168684765919be5da44851060e641fd502dfc.tar.bz2
sqltutor-plugin-370168684765919be5da44851060e641fd502dfc.zip
Add documentation and perl/php code from niels diploma.
Diffstat (limited to 'doc/niels-diplom/Dateistruktur/logout/save.php')
-rwxr-xr-xdoc/niels-diplom/Dateistruktur/logout/save.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/niels-diplom/Dateistruktur/logout/save.php b/doc/niels-diplom/Dateistruktur/logout/save.php
new file mode 100755
index 0000000..f26b293
--- /dev/null
+++ b/doc/niels-diplom/Dateistruktur/logout/save.php
@@ -0,0 +1,15 @@
+<?
+
+include ("../connect.php");
+
+function savestatus($user, $lessNr)
+{
+ $update = "UPDATE students SET lesson_id = '$lessNr' where stud_id = '$user'"; // update den Aufgabenstand....
+
+ $stmt = dbconnect($update);
+
+ $result = OCIExecute($stmt);
+}
+
+?>
+