-
-
Save dmastag/f87bc2f7d79151878c85a1ee46b9a82f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.list = function(req, res){ | |
req.getConnection(async (err,connection) => { | |
var dropdownFisikJln = await connection.query ('SELECT * FROM dropdownlist'); | |
var query = await connection.query ('SELECT * FROM kebinamargaan'); | |
res.redirect('kebinamargaan',{ | |
page_title:"Customers - Node.js", | |
data: { | |
dataDropDown: dropdownFisikJln, | |
dataQuery: query | |
}, | |
title: "Kebinamargaan SI" | |
}); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment