0
how to link database to html code using Java script
5 Réponses
+ 5
actually it is possible to use JavaScript on the server side: using Node.js. It's a useful JavaScript framework that is getting more and more popular . There is a Node.js tutorial available on Codecademy to get you started.
0
there's no way to do it. database connection is done by the server.
0
You must use PHP programming language because the connection of database is occur on server side.
0
Correction of my post: I see that codecademy does not have a node.js tutorial, so apparently I was wrong. However, there are plenty of learning materials available on the web. Here are some good suggestions: www.quora.com/What-is-the-best-Node-js-course-online
0
you cannot do it in client side. but you can use nodeJs on your server and then contact mysql or mongoDB server to it. nodejs Syntax is much similar to JavaScript.