how to connect with the database ?

Morningdot Hablu

Morningdot Hablu

@morningdot-6Xuj4M Oct 24, 2024
hi friends,
i want to know if i create a login window with the help of html then how to connect that window with a database.so that when we enter the username and passward it will store in my database and redrirect to my specific account.

please include coadings in ur answer.

😁

Replies

Welcome, guest

Join CrazyEngineers to reply, ask questions, and participate in conversations.

CrazyEngineers powered by Jatra Community Platform

  • vishnu priya

    vishnu priya

    @vishnu-priya-L6wLMl May 1, 2010

    1.Create the Microsoft Access Database


    2.Create the Data Access Page by Using an Existing HTML Page

    To create the data access page by using an existing HTML page, follow these steps:
    1. Start Notepad, and then type the following HTML:<html>
      <head>
      <h1>Accessing Data through HTML and Access</h1>
      </head>
      <body>
      Looking at Excel Web Components to create a DAP
      </body>
      </hmtl>

    2. Save the file as MyHTML.htm in your My Documents folder.
    3. In Windows Explorer, double-click MyHTML.htm. The HTML page appears in Microsoft Internet Explorer. Quit Internet Explorer.
    To create the data access page link, follow these steps:
    1. Start Microsoft Access. Under Objects, click Pages. Double-click Edit Web page that already exists. The Locate Web Page dialog box appears. Click MyHTML.htm in the My Documents folder, and then click Open. The HTML page opens in Design view.
    2. Click at the end of the line "Looking at Excel Web Components to create a DAP", and then press ENTER to create a new paragraph.
    3. Create a hyperlink to the Contacts HTML page by following these steps:
      1. On the Insert menu, click Hyperlink. The Insert Hyperlink dialog box appears.
      2. In the Text to display text field, type Click here to view Contacts HTML Page.
      3. Click the HTML file Contacts.htm in the My Documents folder.
      4. Click OK to return to the data access page.
    4. Click at the end of the newly inserted text, and then press ENTER to create a new line on the data access page.
    hi CEan,i am not sure how far does this help you may be just try it and post here again if it does not get successful,will help you more.Sorry if it does not answer your question!
  • Manish Goyal

    Manish Goyal

    @manish-r2Hoep May 1, 2010

    You can use php with mysql

    have a look of below mentioned link

    <a href="https://www.w3schools.com/php/php_mysql_intro.asp" target="_blank" rel="nofollow noopener noreferrer">PHP: MySQL Database</a>
  • Morningdot Hablu

    Morningdot Hablu

    @morningdot-6Xuj4M May 1, 2010

    @ vishnu riya thanks i will get a new idea of connection with microsoft access.

    but i want to connect my html page with sql.

    @thanks goyal.