Page 1 of 1

insert value in database using javascript

Posted: Sat Feb 14, 2009 6:10 am
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

Re: insert value in database using javascript

Posted: Sat Feb 14, 2009 10:52 pm
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