//reading post data const useremail = req.body.useremail; const password = req.body.password; //save into db start var sql = "INSERT INTO `users` (`UserName`, `UserPassword`) VALUES ('"+useremail+"','"+ password+"')";