Connecting MySQL with Javascript

Discussion in 'JavaScript and AJAX' started by Mike, Aug 22, 2005.

  1. Mike

    Mike New Member

    Joined:
    Oct 19, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://www.go4expert.com/
    Hi, I am wondering if it's possible to connect the MySQL database using javascript.
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    LOL, You cant do that as JavaScript is at client side and MySQL is on the server side.

    Though you cant do that with purely JavaScript you can however communicate with a server through an xmlhttprequest object, its referred to as AJAX (or activex, java, actionscript)
     
  3. coderzone

    coderzone Super Moderator

    Joined:
    Jul 25, 2004
    Messages:
    736
    Likes Received:
    38
    Trophy Points:
    28
    Nope
     
  4. Mike

    Mike New Member

    Joined:
    Oct 19, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    http://www.go4expert.com/
  5. dotnetrobert.com

    dotnetrobert.com New Member

    Joined:
    Nov 30, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hope this link helps

    <<Self promotion link dropped.>>
     
    Last edited by a moderator: Dec 1, 2007
  6. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    dotnetrobert.com, no self promotion in posts. Use your signature for linking to your sites which you think can link in every post you make. If you continue with the effort your account will get banned as well as your site being flagged as spam.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice