Connecting MySQL with Javascript

Mike's Avatar
Go4Expert Member
Hi, I am wondering if it's possible to connect the MySQL database using javascript.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
LOL, You cant do that as JavaScript is at client side and MySQL is on the server side.

Though you cant do that with purely JavaScript you can however communicate with a server through an xmlhttprequest object, its referred to as AJAX (or activex, java, actionscript)
coderzone's Avatar, Join Date: Jul 2004
Team Leader
Quote:
Originally Posted by Mike
Hi, I am wondering if it's possible to connect the MySQL database using javascript.
Nope
Mike's Avatar
Go4Expert Member
Ok.
dotnetrobert.com's Avatar, Join Date: Dec 2007
Newbie Member
Hope this link helps

<<Self promotion link dropped.>>

Last edited by shabbir; 1Dec2007 at 09:27.. Reason: Self promotion link dropped.
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
dotnetrobert.com, no self promotion in posts. Use your signature for linking to your sites which you think can link in every post you make. If you continue with the effort your account will get banned as well as your site being flagged as spam.