Skip to content

Commit

Permalink
whoopsies
Browse files Browse the repository at this point in the history
  • Loading branch information
NoobleMcScrunchkin committed Jan 16, 2020
1 parent aadc33f commit 23ebdc0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion login.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
* { box-sizing:border-box; }

body {
overflow: hidden;
/* overflow: hidden; */
font-family: Helvetica;
/* background: url('./res/background.jpg') center / cover; */
background: #ccc;
Expand Down
2 changes: 1 addition & 1 deletion php/db.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
function fetch_students() {
global $db;

$fetchusers = $db->prepare("SELECT ID, `First Name`, `Last Name`, `Subject`, `Year`, `House`, `colNum` FROM students ORDER BY `Last Name` ASC, `First Name` ASC");
$fetchusers = $db->prepare("SELECT `ID`, `First Name`, `Last Name`, `Subject`, `Year`, `House`, `colNum` FROM students ORDER BY `Last Name` ASC, `First Name` ASC");
$fetchusers->execute();

$res = array();
Expand Down
2 changes: 1 addition & 1 deletion setup/databaseStructure.sql
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ DROP TABLE IF EXISTS `students`;
CREATE TABLE IF NOT EXISTS `students` (
`ID` int(11) NOT NULL AUTO_INCREMENT,
`First Name` text NOT NULL,
`Surname` text NOT NULL,
`Last Name` text NOT NULL,
`Subject` text NOT NULL,
`Year` int(11) NOT NULL,
`House` text NOT NULL,
Expand Down

0 comments on commit 23ebdc0

Please sign in to comment.