var phpTokens = { phpUser_id: 1, phpUser_token: 'lkasdlkasldk' };
var connectQuery = { user_id: 1, user_token: 'asdasdasdasd' };
connection.connect();
var sql = 'SELECT `original_url`,`code` FROM `links` WHERE `code`="' + req.params.code+'"';
connection.query(sql , function(error, results, fields) {
var result = JSON.stringify(results[0]);
res.render('index', {title: 'Express'});
});