Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can JS connect and recieve info from a DB without reloading a page?

Status
Not open for further replies.

mattquantic

Programmer
Joined
Mar 28, 2004
Messages
196
Location
GB
Can JS connect and recieve info from a DB without reloading a page?
 
Hi

No, JavaScript can not connect to a database. But it can connect through HTTP to a web server, from where a CGI script able to connect to the database can send the data to the JavaScript.

To do it without reloading the common approach is to use AJAX. For specific help post in forum1600.

Feherke.
 
Thanks for the reply and the info.

M@)
 
Don't let the name Ajax scare you... It's just javascript accessing PHP code on the server to do exactly what you want.

Bret Lanius
 
Ta (I use CF tho :o)

(there are plenty of examples on the adobe site too...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top