Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <title>Dylan's Auto's</title>
- <meta http-equiv="Content-Language" content="English" />
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <link rel="stylesheet" type="text/css" href="style.css" media="screen" />
- </head>
- <body>
- <div id="wrap">
- <div id="header">
- <h1><a href="./index.html">Dylan's Autos</a></h1>
- <h2>Subheader, website description H2</h2>
- </div>
- <div id="menu">
- <ul>
- <li><a href="./index.html">Home</a></li>
- <li><a href="./about.html">About</a></li>
- <li><a href="./Cylinder-Components.html">Cylinder Components</a></li>
- <li><a href="./Four-Stroke-Cycle.html">Four Stroke Cycle</a></li
- <li><a href="./Calculations.html">Calculations</a></li>
- <li><a href="./Glossary.html">Glossary</a></li>
- <li><a href="./Feedback.html">Feedback</a></li>
- <li><a href="./Login.html">Login</a></li>
- </ul>
- </div>
- <div id="content">
- <div class="right">
- <h2>Thank's for Registering</h2>
- <?php
- $dbserver = "localhost"; // or use 127.0.0.1
- $dbusername = "djc1crt";
- $dbuserpassword = "1501596";
- $dbname = "djc1crt_db";
- $mysqli_obj = new mysqli($dbserver,$dbusername,$dbuserpassword,$dbname)
- or die("Cannot connect to database.");
- $sqlstatement = "INSERT INTO users VALUES
- ('$username','$password')";
- $result = $mysqli_obj->query($sqlstatement)
- or die("Couldn't issue SQL INSERT query");
- $mysqli_obj->close();
- ?>
- </div>
- <div id="bottom"> </div>
- <div id="footer">
- Designed by <a href="http://www.free-css-templates.com/">Free CSS Templates</a>, Thanks to <a href="http://www.openwebdesign.org/">Web Design</a></br>
- <a href="#">Site Map</a></br>
- Dylan Cain - 1501596
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement