Jump to content

Can JavaScript connect to MySQL


ldsmike88

Recommended Posts

I'm not very sure if this is possible but I don't think so. I mean if you can connect it ONLY using javascript. Because JS is a client side scripting language and all it's code can be seen via "view source" and think that your server username and password is seen!

But by using an ActiveX or XMLHTTPRequest Object, yes that's possible. Try looking here http://www.ajaxfreaks.com/tutorials/3/0.php . There isn't lots of tutorials there but you can google for ajax tutorials and see what you get. You could also try ajaxian.com.

Hope that helps

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.