Hi i have a text value of javascript and i want to store that values in the datbase of mysql so
A:
Java script is a client side language , so it cant store values directly to mysql database but you can call a server side script (php ,asp .... ) providing it with the value as a parameter. you can either load the new script as a new page or use ajax.
Ahmed Kotb
2010-02-06 08:53:57
please me send code for that using ajax
Khilen
2010-02-06 09:28:00
@Khilen, with 0% accept rate it is unlikely someone will help. Also you forgot to mention what you've tried so far that didn't work.
Darin Dimitrov
2010-02-06 15:31:40
ajax code is totally un-related to your problem , it is just a way to call the server side script that will do the database work , any way for ajax the w3schools tutorial is good and you might also want to look at the mysql/php tutorial.and you really should start accepting answers to encourage more people to answer yours.w3schools ajax tutorial : http://www.w3schools.com/ajax/default.aspmysql tutorial : http://www.w3schools.com/PHP/php_mysql_intro.asphope that helps.
Ahmed Kotb
2010-02-06 19:41:47