Chat window now opens with no messages inside.
[Assignment-Trapper.git] / help_me.php
blobc20adaef3134fb0b9e79151d310a93b16d1ceec4
1 <?php
3 include_once("auth.php");
4 include_once("detail_lib.php");
6 if (!$_GET["sched"]) { die("No Assignment Requested"); }
8 // each time you hit this page, you toggle help me on or off...
10 $val = help_me_query($user_id, $_GET["sched"]);
12 //echo $val;
14 if($val == 0) {
15 helpme_viewed_update($user_id, $_GET["sched"], 1);
16 } else {
17 helpme_viewed_update($user_id, $_GET["sched"], 0);
20 echo '<html><meta http-equiv="refresh" content="0;url=detail_root.php?sched='.$_GET["sched"].'" /></html>';