Results 1 to 5 of 5

Thread: how to connect the html doc to microsoft sql database?

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    58

    how to connect the html doc to microsoft sql database?

    how do you connect the html document to the microsoft sql database? i am using microsoft sql server 2000,by the way. can someone tell me?

  2. #2
    I'm about to be a PowerPoster!
    Join Date
    Jan 2005
    Location
    Everywhere
    Posts
    13,647

    Re: how to connect the html doc to microsoft sql database?

    You can't 'connect' a HTML document to a database. HTML is simply a document format.

    If you want to produce HTML reports from a database, you will need to use a programming language. If this is to be done in a web-based environment, you will need to use a server-side technology such as PHP or ASP.NET (depending on your server's operating system).

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2006
    Posts
    58

    Re: how to connect the html doc to microsoft sql database?

    that means if i have a php document, then it will be possible for me to connect the document to database, is it?

    what i know is that, php code is embedded with the html code. i save the document under .html extension. so, what should i do so that the document can be connected to the database?

  4. #4
    PowerPoster techgnome's Avatar
    Join Date
    May 2002
    Posts
    34,687

    Re: how to connect the html doc to microsoft sql database?

    well, for starters, not saving it with the HTML extension. That jsut makes it a plain HTML document, and will be rendered by the browser, to include all the PHP code. If you are trying to use PHP, then you need to save the file with a PHP extension. Additionaly, it's only going to work if PHP is installed on the web server you are using.

    -tg
    * I don't respond to private (PM) requests for help. It's not conducive to the general learning of others.*
    * I also don't respond to friend requests. Save a few bits and don't bother. I'll just end up rejecting anyways.*
    * How to get EFFECTIVE help: The Hitchhiker's Guide to Getting Help at VBF - Removing eels from your hovercraft *
    * How to Use Parameters * Create Disconnected ADO Recordset Clones * Set your VB6 ActiveX Compatibility * Get rid of those pesky VB Line Numbers * I swear I saved my data, where'd it run off to??? *

  5. #5
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: how to connect the html doc to microsoft sql database?


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