+ 1
How can I interfere with the database using JavaScript?
I want to create tables, update tables or even create a whole new database. It's possible through php, but since it's not supported in chrome and I'm having problems with installing servers like mamp and xampp, I really need help to do database manipulations through JavaScript. My simple question is "can we add data to databases using JavaScript". Help would be appreciable
3 Answers
+ 2
Node.js MySQL
https://www.w3schools.com/nodejs/nodejs_mysql.asp
+ 3
Yeah, I'm using mysql, but I'll do check on your advice. Thanks, Talha Altinel
+ 1
Yes you just need to use Node.js as backend and mongodb as a database let's say and mongoose as a query library utility. But i guess you are using mysql as a database at the moment? If so then i have no idea.