Posts by Rsrd • 1 point
6 posts
-
0
votes1
answer200
viewsA: problem sending values from one route to another
got it this way const authenticateUser = async (connection, req, res) => { const user = await User.findUser(connection, req.body.username) if(!user){ return res.render('login/login',{error:…
-
0
votes1
answer99
viewsA: user checking problem already exists in mysql nodejs
to solve the problem I did the following fields: { username: { validators: { stringLength: { min: 4, }, notEmpty: { message: 'Insira o username' }, remote : { url : './usermameverica', message :…
-
-1
votes1
answer73
viewsA: Error 503 - Localhost
I guess you don’t have the Apache initiated. Try this: # Para ver se o tens o Apache iniciado: sudo /etc/init.d/apache2 status # Para iniciar o Apache: sudo /etc/init.d/apache2 start Maybe you have…
-
0
votes1
answer99
viewsQ: user checking problem already exists in mysql nodejs
I’m having trouble getting it working or checking if the user already exists dynamically. Basically I want that when typing the user name says whether or not I am using the nodejs with express and…
-
0
votes1
answer200
viewsQ: problem sending values from one route to another
I am making a login system with mysql I am unable to pass the route values to another i want to go from login router to users router the code is followed connection.query('SELECT * FROM users WHERE…
-
0
votes0
answers111
viewsQ: add with php loop push
have this result the result should be 125 150 175 ... and the result that I always have the same value Code follows server class <?php require_once ('configurations/config.php'); // arquivo cujo…