Log In System: DWMX 2004

Next we need to connect to the database we created earlier.

Connect to the database

  1. Click to open the login.php page.
  2. Go to Window>Databases
  3. Click the plus sign and choose MySQL connection.
  4. Fill out the dialog box like this:
    connection name: conn_users
    MySQL server: 127.0.0.1 (or localhost)
    Username: root or another MySQL server user you may have set up in privileges
    Password: MySQL password
    Next to the database field, choose the select button. When the databases load, choose your user database.
  5. Click the test button, then the OK button.

Finally! We get to set up our first page in the login system -->