View Full Version : how to send enteries on the html-javascript form to mysql database

shalabh mudgal
03-11-2007, 05:06 AM
hello friends,
i am building a web based application in java script.
i have built a form for taking user related information . i want that on clicking submit button all this information goes to tables in mysql database.

how to link this form with database(connectivity)...and wt other coding required..plz reply soon ..

plz send the code if possible.....thanks!!!

03-11-2007, 05:13 AM
Have you heard about some server side scripting languages like PHP, ASP, ASP.NET, JSP, etc which can interact with server. And remember that javascript is best for the client side operation only. So please go for any server side scripting language. I would prefer for http://www.php.net for learning PHP.

03-11-2007, 05:21 AM
If you wanted a javascript solution, the best you can do is AJAX with some server side invocation (< not sure if it is the right word ot use, but you get the idea). Other than that, you will not be able to have Javascript send/save data to a MySQL database (or any other databse for that matter).

Hope this helps.