Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- if (!isset($_POST['submit'])) {
- echo "HTML FORM";
- } else {
- $username = $_POST['username'];
- $password = $_POST['password'];
- $code = $_POST['code'];
- // yay u got that far!
- $rand = rand(0,2)
- $mssg[0] = "message 0";
- $mssg[1] = "message 1";
- $mssg[2] = "message 2";
- // remove the extra dot ".."
- $status = $mssg[0] . " " . $mssg[1] . " " . $mssg[2]
- echo $status . "<br />";
- echo $mssg[$rand];
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement