ldsmike88 Posted August 11, 2006 Share Posted August 11, 2006 Is it possible for javascript to connect and edit a MySQL database? If it is possible how do you run a simple update query? Thanks!Michael Quote Link to comment Share on other sites More sharing options...
radalin Posted August 11, 2006 Share Posted August 11, 2006 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.