Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- router.get('/account?login=Admin', function(req, res, next) {
- var post = {login: req.query.login};
- var query = connection.query('select * from user where ?', post, function (error, results, fields) {
- if (error) throw error;
- res.render('/account?login=Admin', { title: results[0].login });
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement