open(0); $k = $categoryTable->find3(0, $_GET[cId], 6, $_POST["user"], 7, $_POST["pass"]); if ($k > 0) { $record = $categoryTable->findRow3(0, $_GET[cId], 6, $_POST["user"], 7, $_POST["pass"]); session_start(); $_SESSION["user"] = $_POST["user"]; $_SESSION["cId"] = $_GET[cId]; header('Location: event.php'); } else { $logonsuccess = false; } } ?> 桼Ͽ