J
|
Jane 6/23/2006 |
Hi, function BeforeEdit(&$values, $where) { if ($values["Field"]=="q1") $_SESSION["question] = 1; if ($values["Field"]=="q2") $_SESSION["question] = 2; if ($values["Field"]=="q3") $_SESSION["question] = 3; return true; } function AfterEdit() { // put your custom code here if ($_SESSION["question"]==1) header("Location: q1_list.php"); if ($_SESSION["question"]==2) header("Location: q2_list.php"); if ($_SESSION["question"]==3) header("Location: q3_list.php"); }
|