Skip to content

Commit

Permalink
Separated MySQL Password
Browse files Browse the repository at this point in the history
  • Loading branch information
otakaran committed Jan 27, 2017
1 parent 8795790 commit 766ae88
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@
.Trashes
ehthumbs.db
Thumbs.db

# MySQL Password #
password.php
2 changes: 1 addition & 1 deletion index.html → index.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ <h4>FOOTER</h4>
}

$sql = "INSERT INTO results (name, net_wpm, gross_wpm, error, accuracy)
VALUES ('$name', '0', '0', '0', '0')";
VALUES ('0', '0', '0', '0', '0')";

if ($conn->query($sql) === TRUE) {
echo "New record created successfully";
Expand Down

0 comments on commit 766ae88

Please sign in to comment.