All Questions
216
questions
0
votes
0
answers
68
views
How to load data to, and save data from a Handsontable to a MySQL database?
I am developing a web app where users can enter data into a spreadsheet like like UI and click on a submit button, and the data gets stored in a mysql database table.
I built the project with vite and ...
0
votes
0
answers
32
views
How to access parameters of foreign key to display data in table in Angular application?
I want to display data from a foreign table named 'Committee' and 'Staff', in a table which lists 'Committee Member'. I tried accessing it with the help of dataSource but was unable to do so. The code ...
0
votes
1
answer
39
views
Update module not works in Node.js
I made a blog using node and ejs, but my problem arises when I want to make an update of a post, the texts are updated without problem, but the attached image is lost even if it has not been edited.
I ...
-2
votes
1
answer
57
views
Request data from a MySQL Table and show on an HTML page? [closed]
Title,
I've tried Node.JS but to no avail since it doesn't work for webpages, and looking into it online it always suggests on how to show HTML through Node.JS, not mentioning SQL in the slightest.
I'...
0
votes
0
answers
48
views
Problem on Nodejs > MySQL Database communication
My website sends this requisition to NodeJS, which i need to return me the data (even if empty) without any type of crash/error.
function carregarsolicitacoes(){
fetch('/carregar-solicitacoes?usertag='...
1
vote
0
answers
25
views
How can I add data from a form into my sql table using node.js?
I'm making a website on the local host 8080, using node.js and mysql I've tried to make a module of my sign up page using form get method and parse the link into the sql command. Here is the code I ...
0
votes
3
answers
61
views
Node JS - Data of my html form isn't updated to SQL with req.body but instead sends out "undefined"
I'm building my first CRUD application (Create, Read, Update, and Delete), but i'm having issues Updating the Data.
On the html page, when you click on a table row that you wish to update, it sends ...
2
votes
1
answer
49
views
Mysql Nodejs with react front end is not returning any data from select statement, and result . length returning []
I have used Mysql as backend for react application. my motive was to verify if username already exist in the database and return 'done' if not exist and return 'username exist' if already exists
my** ...
0
votes
1
answer
492
views
Cannot POST /login error - while clicking submit using Node.js and Express.js with MySql
I am trying to build simple login page using node.js with express.js package and mysql package, that will redirect the user to layout.html page, if the username and password exists in mysql database.
...
0
votes
2
answers
180
views
how can i pass an array of parameters to route?
I want to delete some rows from MySQL db using checkboxes from my ejs view to routes with node.js and React app. I can delete one row, but how can i pass and array of parameters?
This is my router ...
0
votes
1
answer
540
views
Database connection error with nodejs and xampp mysql
So ive been trying to make a login form using nodejs and xampp mysql but after entering details from the table and clicking on login button the page keeps loading and nothing happens.... i cant quite ...
-3
votes
1
answer
36
views
How can I stop my user login in page from logging in without details?
Hi I'm creating an API which requires a log in system using NodeJs and a mySQL database.
I've managed to connect to my database and create a basic login page for now. However, on my log in page ...
1
vote
2
answers
82
views
Modify HTML from NodeJS mySQL
I am new to NodeJS and MySQL, so I am trying this: I have created a table which is connected with nodejs. I succesfuly managed to console log an item that I wanted. I have also started a localhost ...
0
votes
1
answer
39
views
nodejs mysql not inserting data
so i have been getting two errors whenever im running my code through vscode terminal
1- i have created a connection to a database though xampp
2- i have html form to insert
3- server works
but i get ...
0
votes
2
answers
25
views
How do I retrieve multiple data from MySQL and sum them based on same fields different inputs with up to 5 added rows? (NodeJS)
I am currently using nodejs to build a form that retrieves revenue based on input of the weight and parcel type.
Users in the form are able to select the weight and type (both are dropdown with ...