+ 3

Can JavaScript be used for accessing mysql database ?

php, and mysql

20th Dec 2016, 5:20 PM
pankaj pundir
pankaj pundir - avatar
3 Réponses
+ 3
No, JavaScript can not directly connect to MySQL. But you can mix JS with PHP to do so. JavaScript is a client-side language and your MySQL database is going to be running on a server
20th Dec 2016, 5:24 PM
Pankaj Gautam
Pankaj Gautam - avatar
+ 3
Check AJAX (Asynchronous JavaScript And XML) on google.
20th Dec 2016, 5:41 PM
CHMD
CHMD - avatar
0
you can also use node.js. a little more involved to get it installed but is very powerful.
20th Dec 2016, 10:58 PM
Sashae S Owens (Sashae)
Sashae S Owens (Sashae) - avatar