Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require('../master.php');
- require('../dbConfig.php');
- // Create connection
- $conn = new mysqli($servername, $username, $password, $dbname);
- // Check connection
- if ($conn->connect_error) {
- die("Connection failed: " . $conn->connect_error);
- }
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <title>Cursist toevoegen</title>
- <?php
- echo $head;
- ?>
- </head>
- <body>
- <?php
- echo $header;
- ?>
- <div class="row">
- <h2 class="col-sm-offset-2 col-sm-10">Cursist toevoegen</h2>
- </div>
- <form class="form-horizontal" role="form" method="post" action="cursisten_2.php">
- <div class="form-group">
- <label class="control-label col-sm-2" for="firstName">username:</label>
- <div class="col-sm-10">
- <input class="form-control" required="required" type="text" name="firstName" id="firstName" placeholder="Fill in your username" />
- </div>
- </div>
- <div class="form-group">
- <label class="control-label col-sm-2" for="password">Password:</label>
- <div class="col-sm-10">
- <input class="form-control" required="required" type="password" name="lastName" id="lastName" placeholder="Vul uw naam in" />
- </div>
- </div>
- <div class="form-group">
- <div class="col-sm-offset-2 col-sm-10">
- <button class="form-control btn-default" type="submit">Bevestigen</button>
- <button class="form-control btn-default" type="reset">Resetten</button>
- <button class="form-control btn-default" type="button">Annuleren</button>
- </div>
- </div>
- </form>
- <?php
- $conn->close();
- echo $footer;
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement