<commit_before><?php
	//Item Information
	$fname = $_POST["firstName"];
	$lname = $_POST["lastName"];
	$email = $_POST["username"];
	$password = $_POST["password"];
	
	/*DO NOT FORGET TO PUT THIS ON YOUR LOCAL HOST AND ADD YOUR INFORMATION*/
	$link = mysqli_connect("localhost", "root", "mysql44") or die("ERROR: " . mysqli_error($link));
	
	//Create DB
	$dbQuery = "CREATE DATABASE IF NOT EXISTS rpItems";
	$db = $link->query($dbQuery) or die ("DB ERROR: " . mysqli_error($link));
	
	//Create Items Table
	$link->select_db("rpItems") or die(mysqli_error());
	$link->query("CREATE TABLE IF NOT EXISTS members (
		id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
		firstName VARCHAR(30) NOT NULL,
		lastName VARCHAR(30) NOT NULL,
		email VARCHAR(40) NOT NULL,
		password VARCHAR(30) NOT NULL,
		PRIMARY KEY(id)
	)") or die("TABLE ERROR: " . mysqli_error($link));
	
	//Insert Information
	$strSQL = "INSERT INTO members(firstName, lastName, email, password)";
	$strSQL .= "VALUES('" . $fname . "', '" . $lname . "', '" . $email . "', '";
	$strSQL .= $password . "')";
	$insert = mysqli_query($link, $strSQL) or die ("INSERT ERROR: " . mysqli_error($link));
	
	$link->close();  
?>

<html>
<head>
	<title>User Created</title>
	<link rel="stylesheet" type="text/css" href="resources/stylesheet.css" />
</head>
<body>
	<h1>Thank You!</h1>
	<div id="thank">
		<h2>You are now a registered user!</h2>
		<button><a href="index.php">Go back</a></button>
	</div>
</body>
</html><commit_msg>Fixed indentation<commit_after><?php
  //Item Information
  $fname = $_POST["firstName"];
  $lname = $_POST["lastName"];
  $email = $_POST["username"];
  $password = $_POST["password"];
  
  /*DO NOT FORGET TO PUT THIS ON YOUR LOCAL HOST AND ADD YOUR INFORMATION*/
  $link = mysqli_connect("localhost", "root", "mysql44") or die("ERROR: " . mysqli_error($link));
  
  //Create DB
  $dbQuery = "CREATE DATABASE IF NOT EXISTS rpItems";
  $db = $link->query($dbQuery) or die ("DB ERROR: " . mysqli_error($link));
  
  //Create Items Table
  $link->select_db("rpItems") or die(mysqli_error());
  $link->query("CREATE TABLE IF NOT EXISTS members (
    id INTEGER UNSIGNED NOT NULL AUTO_INCREMENT,
    firstName VARCHAR(30) NOT NULL,
    lastName VARCHAR(30) NOT NULL,
    email VARCHAR(40) NOT NULL,
    password VARCHAR(30) NOT NULL,
    PRIMARY KEY(id)
  )") or die("TABLE ERROR: " . mysqli_error($link));
  
  //Insert Information
  $strSQL = "INSERT INTO members(firstName, lastName, email, password)";
  $strSQL .= "VALUES('" . $fname . "', '" . $lname . "', '" . $email . "', '";
  $strSQL .= $password . "')";
  $insert = mysqli_query($link, $strSQL) or die ("INSERT ERROR: " . mysqli_error($link));
  
  $link->close();  
?>

<html>
  <head>
    <title>User Created</title>
    <link rel="stylesheet" type="text/css" href="resources/stylesheet.css" />
  </head>
  <body>
    <h1>Thank You!</h1>
    <div id="thank">
      <h2>You are now a registered user!</h2>
      <button><a href="index.php">Go back</a></button>
    </div>
  </body>
</html>
{'fraction_non_alphanumeric': 0.18915343915343916, 'fraction_numerical': 0.009259259259259259, 'mean_word_length': 3.959016393442623, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 51, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '59136', 'n_tokens_mistral': 1142, 'n_tokens_neox': 1073, 'n_words': 278}