Results 1 to 4 of 4

Thread: javascript/ sql db - can it be done??

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    javascript/ sql db - can it be done??

    Hello,

    I dont know if this is a VERY stupid question, but can I read/write to a SQL DB from a HTML page (NOT ASP), using JAVASCRIPT.

    If it can be done, can anyone please give me an example of
    1.) Connecting to the db
    2.) Reading
    3.) Writing

    using jscript

    I know how to do this using ASP.

    Thanks,
    T

  2. #2
    scoutt
    Guest
    not possible since Javascript is client side.

  3. #3
    Fanatic Member gwdash's Avatar
    Join Date
    Aug 2000
    Location
    Minnesota
    Posts
    666
    with IE 5 you can use the DataControl and script it to do client side DBs. i have a sample
    GWDASH
    [b]VB6, Perl, ASP, HTML, JavaScript, VBScript, SQL, C, C++, Linux , Java, PHP, MySQL, XML[b]

  4. #4

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2000
    Posts
    343

    Unhappy Thanks

    Thanks, for the replies guys - I thought it couldn't be done!!

    gwdash,

    could you post the sample code you have??

    If it is too big to post on this forum I would appreciate it if you could email it to me at [email protected].

    Thanks,
    T

Posting Permissions

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



Click Here to Expand Forum to Full Width