1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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:
    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,276
    Likes Received:
    364
    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:
    734
    Likes Received:
    37
    Trophy Points:
    0
    Nope
     
  4. Mike

    Mike New Member

    Joined:
    Oct 19, 2004
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    0
    Home Page:
    Ok.
     
  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,276
    Likes Received:
    364
    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