skip to Main Content

Mysql – I'm trying to make loginform check using knex but it doesn't work

My Code: function checkLogIn() { var emailValue = document.getElementById("emails").value; var usernameValue = document.getElementById("username").value; var passwordValue = document.getElementById("password").value; knex("users").select("id").where({ email: emailValue, username: usernameValue, password: passwordValue, }); } It should takes values from HTML and compare HTML values with MySQL DB values.…

VIEW QUESTION

How can we rewrite this?

Currently I'm using a timer with node-schedule to check for changes in the database, making queries every 1 minute and then comparing with the information already registered to see if there were changes since the last check. With what I…

VIEW QUESTION
Back To Top
Search