+ 2
Is there a way to interact with mysql database using javascript
Basically, what I want to know is if Javascript can be used for both front-end and backend programming
4 ответов
+ 2
Front end JavaScript cannot interact directly with mysql.
You need server scripts like PHP or Node.js, which is backend JavaScript library to interact with mysql.
Frontend JavaScript can only send requests to server scripts through web service to request server script to retrieve data from mysql.
+ 1
Thanks a lot.
0
Okay, so basically, node.js can take care of the interaction?
0
You're right.