Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //Connect to the mysql database.
- $mysql_username="usher_signup";
- $mysql_password="abc123";
- $link = mysql_connect('localhost', $mysql_username, $mysql_password);
- if (!$link) {
- die('Could not connect: ' . mysql_error());
- }
- echo 'Connected successfully to MySQL<br>';
- //select the database
- mysql_select_db("signup", $link);
- //check each table and see if there are six entries.
- ?>
- <html>
- <head>
- <title>
- LACLT - Usher Sign Up Sheet
- </title>
- <link rel="stylesheet" type="text/css" href="style.css">
- </head>
- <body>
- <form action="index2.php" method="post">
- Full Name: <input type="text" name="first_name">
- <br />
- Have You Ushered for Us Before?:
- <br />
- <input type="radio" name="xp" value="yes" checked> Yes
- <input type="radio" name="xp" value="no"> No
- <br />
- Date of Show:
- <select name="date">
- <option value="per1">1-THU/6-18-09/7:30PM</option>
- <option value="per2">1-FRI/6-19-09/8:00PM</option>
- <option value="per3">1-SAT/6-20-09/8:00PM</option>
- <option value="per4">1-SUN/6-21-09/2:00PM</option>
- <option value="per5">1-THU/6-25-09/7:30PM</option>
- <option value="per6">1-FRI/6-26-09/8:00PM</option>
- <option value="per7">1-SAT/6-27-09/8:00PM</option>
- <option value="per8">1-SUN/6-28-09/2:00PM</option>
- </select>
- <br />
- <input type="submit">
- </form>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement