Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- session_start();
- ?>
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>E-Book Store</title>
- <link rel="stylesheet" href="stylesheets/indexstylesheet.css" type="text/css" media="screen">
- <link rel="stylesheet" href="stylesheets/headerstylesheet.css" type="text/css" media="screen">
- <script src=""></script>
- </head>
- <header
- <div class="top_head">
- <div class="logo">
- <img src="images/logo.jpg" href="index.php" title="ebookstorelogo" alt="ebookstorelogo" />
- </div>
- <nav>
- <ul>
- <li class="selected"><a href="index.php">Home</a></li>
- <li><a href="ebooks.php">E-Books</a></li>
- <li><a href="register.php">Register</a></li>
- <li><a href="login.php">Log in</a></li>
- <li><a href="basket.php">Basket</a></li>
- </ul>
- </nav>
- </div>
- </header>
- <body>
- <h1>Author Registation</h1>
- <p><H2>Date:<?php
- echo date('d/m/y');
- ?>
- </h2></p>
- <form action="registerprocess.php" method="get" >
- <table align ="center" width ="30%">
- <tr>
- <td>First Name:</td><td><input type="text" name="firstname"/></td>
- </tr>
- <tr>
- <td>Last Name:</td><td><input type="text" name="lastname"/></td>
- </tr>
- <tr>
- <td>User Name:</td><td><input type="text" name="username"/></td>
- </tr>
- <tr>
- <td>Password:</td><td><input type="text" name="password"/></td>
- </tr>
- <tr>
- <td>Email:</td><td><input type="text" name="email"/></td>
- </tr>
- <tr>
- <td algin ="center"><input type="submit"></td>
- </tr>
- </table>
- </form>
- <a href=login.php><h3>Already Registered....</h3></a>
- <?php
- require 'bookstoredata/connect_DB.php';
- if (mysqli_ping($connect)) {
- echo '<p>MySQL Server' . mysqli_get_server_info($connect)
- . ' on ' . mysqli_get_host_info($connect) . '</p>';
- }
- ?>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement