Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Why session(exam) not starting at 1
- <?php
- if ($sessionMinus = $_SESSION['initial_count']) {
- $action = ($sessionMinus = $_SESSION['initial_count']) ? "create_session2.php" : $_SERVER['PHP_SELF'];
- }
- ?>
- <body>
- <h1>SESSION (<?php echo $_SESSION['id'] ?>) <?php echo $sessionMinus ?> OF <?php echo $_SESSION['initial_count'] ?></h1>
- <form id="QandA" action="<?php echo htmlentities($action); ?>" method="post" onsubmit="return validateForm(this);">
- </form>
- </body>
Advertisement
Add Comment
Please, Sign In to add comment