Results 1 to 3 of 3

Thread: how to send enteries on the html-javascript form to mysql database

  1. #1
    Join Date
    Mar 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default how to send enteries on the html-javascript form to mysql database

    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!!!

  2. #2
    Join Date
    Jan 2007
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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.

  3. #3
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    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.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •