Posts by Samuel Silva • 43 points
8 posts
-
0
votes1
answer115
viewsQ: Problem Bringing Database Data to html
hello people I am doing a school project and would like a help in this part, here should happen the following, when the customer select the attendant in select Service should be listed the services…
-
0
votes1
answer134
viewsQ: I cannot access SQL query property on Node.js
I’m trying to create a code that logs into a website, but when it takes the data from the database to do a check, I get an error. My current code: router.post('/loginClin', function(req, res, next)…
-
1
votes2
answers164
viewsQ: Node.js server error (ejs)
hello I have that code: router.post('/loginCli', function(req, res, next) { var j; conn.query('SELECT * FROM bdlabella.tbclientes order by email_cli', (err, results) => { if(err){…
-
0
votes1
answer176
viewsQ: Node.js execution error
Hello, I have this error in my app: Server Running On! URL: / Method: GET _http_outgoing.js:482 throw new ERR_HTTP_HEADERS_SENT('set'); ^ Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they…
-
0
votes1
answer322
viewsQ: Take only one value in the query result to the database
I’d like him to pass one return with only the number of data of that table, however it is returning it: C:\E. S>node dao.js Connected! [ RowDataPacket { 'COUNT(*)': 4 } ] Code:…
-
0
votes0
answers150
viewsQ: how to make javascript take an n number of elements from a database
I would like to take for example all the names of a database table and save in an array(or matrix) and then list in an html table how can I create a new method BS: I have that part ready: var mysql…
-
2
votes1
answer206
viewsQ: error when connecting mysql with Node.js
am connecting mysql with Node but is giving this error: C:\E. S\dao.js:10 if (err) throw err ^ Error: getaddrinfo ENOTFOUND localhost:806 localhost:806:3306 at GetAddrInfoReqWrap.onlookup [as…
-
-3
votes2
answers936
viewsQ: java login screen and Mysql database
I am validating the login of a simple system but giving an error does not login I will send you the code of the class and the moment I try to log in. Lojabd class that validates the user class that…