merck_delmoro Posted May 13, 2009 Share Posted May 13, 2009 Can I know the syntax on how to call the database or any one post a url of tutorial on how to connect a JavaScript to the database MySQL Quote Link to comment Share on other sites More sharing options...
gffg4574fghsDSGDGKJYM Posted May 13, 2009 Share Posted May 13, 2009 You don't. You can use AJAX to call a php page then the php access the database and send back the data to javascript. The client side (like javascript) isn't allow to directly connect to the database and it's a good thing. Only server side script like PHP can do that. 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.