Skip to content

Instantly share code, notes, and snippets.

View Danni3's full-sized avatar

Daniel Hawinkles Danni3

View GitHub Profile
<!--Daniel Hawinkels-->
<!--index.html-->
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Pizza Hut Form</title>
@Danni3
Danni3 / dbconnect.php
Created August 26, 2014 23:56
PHP/MYSQL Assessment
<?php
$username = "root";
$password = "";
$hostname = "localhost";
$dbname = "assessment";
$con = mysqli_connect($hostname, $username, $password, $dbname);
// check connection
if (mysqli_connect_errno())