Jump to content

jquery and database


funbinod
 Share

Recommended Posts

not directly no. Javascript is client side code, and does not directly interact with the database. A server-side language like PHP can. Typically applications make client side HTTP requests to a server side script which interacts with the database and returns a response to the client side application.

  • Like 1
Link to comment
Share on other sites

thank u...

but if a php script retrived the data from database on a separate file, can javascript read that? if yes please guide....

that's what I said...

 

not directly no. Javascript is client side code, and does not directly interact with the database. A server-side language like PHP can. Typically applications make client side HTTP requests to a server side script which interacts with the database and returns a response to the client side application.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...