Started editing and adding real content.

This commit is contained in:
José Carlos Cuevas 2013-06-01 23:53:56 +02:00
parent da5eb5c923
commit 8f75ed3ad4

View file

@ -69,7 +69,8 @@ app.get('/', function (req, res) {
database.each("SELECT * FROM players", function(err, row) {
console.log('Received a player row! Weheeeee!');
console.log(row.name);
players.push(row.name);
var nextElement = players.length;
players[nextElement] = row.name;
});
console.log(players);