insert value in database using javascript

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
rajsekar2u
Forum Commoner
Posts: 71
Joined: Thu Nov 20, 2008 4:23 am

insert value in database using javascript

Post by rajsekar2u »

hi,

how to insert a value into database using javascript.
I need to enter a value from text box into mysql dabase...
help me in this
thanks in advance
RAJ
josh
DevNet Master
Posts: 4872
Joined: Wed Feb 11, 2004 3:23 pm
Location: Palm beach, Florida

Re: insert value in database using javascript

Post by josh »

javascript is client side, databases are not. You need to use ajax to make a request to a backend script to connect to the database. Why would you want to include passwords in the front-end code anyways
Post Reply