1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Can JavaScript save results to MS DB?

Discussion in 'JavaScript' started by JJnacy, Apr 12, 2008.

  1. #1
    I am new to JavaScript.

    How to use JavaScript to save results to a MS DB?
    example:
    Can I use a JavaScript to know a visitor's browser type and save the browser type into my MS DB? How to do it?

    Thank you.
     
    JJnacy, Apr 12, 2008 IP
  2. hogan_h

    hogan_h Peon

    Messages:
    199
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    0
    #2
    AFAIK you can't do that with JavaScript alone, because it's running ClientSide and for the functionality you want to have, you would need to combine it with some other ServerSide Script Language like PHP and use Ajax.

    But, if it's only for logging visitors browser type, etc., why not use PHP straight, you don't need JS for that at all...
     
    hogan_h, Apr 13, 2008 IP