Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Adding database tables


Dynamic Dreamweaver Websites: Creating Login Areas

with Candyce Mairs

Video: Adding database tables

Adding database tables provides you with in-depth training on Developer. Taught by Candyce Mairs as part of the Dynamic Dreamweaver Websites: Creating Login Areas
Expand all | Collapse all
  1. 1m 32s
    1. Welcome
      1m 32s
  2. 2m 57s
    1. Course overview
      1m 16s
    2. The course environment
      1m 41s
  3. 26m 58s
    1. Static vs. dynamic requests
      4m 8s
    2. Installing XAMPP on a Windows system
      8m 54s
    3. Installing MAMP on a Mac system
      4m 29s
    4. Using admin consoles
      3m 54s
    5. Installing the course files
      5m 33s
  4. 18m 36s
    1. Overview of the Dreamweaver interface
      6m 22s
    2. Setting up the course site
      6m 20s
    3. Previewing pages
      5m 54s
  5. 33m 38s
    1. Creating PHP pages
      5m 45s
    2. Adding PHP code
      5m 44s
    3. Displaying variables
      4m 45s
    4. Commenting your code
      5m 30s
    5. Working with includes
      5m 58s
    6. Building the course templates
      5m 56s
  6. 35m 13s
    1. What is a database?
      5m 2s
    2. Adding database tables
      7m 34s
    3. Connecting to the database
      8m 28s
    4. Getting data from a database: Part one
      8m 25s
    5. Getting data from a database: Part two
      5m 44s
  7. 1h 16m
    1. Planning the login process
      7m 25s
    2. Creating a login form
      7m 45s
    3. Adding form validation: Part one
      9m 22s
    4. Adding form validation: Part two
      1m 37s
    5. Exploring the registration page
      7m 17s
    6. Correcting table fields
      6m 1s
    7. Setting up the login landing page
      4m 1s
    8. Using server behaviors
      3m 36s
    9. Inserting new members
      8m 48s
    10. User authentication
      10m 3s
    11. Restricting access to pages
      5m 17s
    12. Testing the login
      4m 53s
  8. 1h 6m
    1. Admin area overview
      5m 9s
    2. Adding new users
      5m 19s
    3. Restricting access
      12m 25s
    4. Planning the admin update area
      5m 19s
    5. Building the members table listing
      6m 55s
    6. Building the querystring
      9m 14s
    7. Populating the update form
      6m 33s
    8. Updating the database data
      11m 28s
    9. Testing the admin update process
      3m 47s

please wait ...
Watch the Online Video Course Dynamic Dreamweaver Websites: Creating Login Areas
Video Duration: 7m 34s4h 21m Intermediate Jun 06, 2011

Viewers: in countries Watching now:

View Course Description

An important but little-understood concept in dynamic web development is that of role-based logins, which allow different types of users to access different parts of the site. In this course Adobe Certified Expert Candyce Mairs shows how to use Dreamweaver's features to create role-based logins, restrict page access, build an administrator area, and test everything to make sure it works. Plus, see how to set up a development environment and work with a database from within Dreamweaver. Along the way, build your skills in areas like working with PHP, adding form validation, using server behaviors, and much more.

Topics include:
  • Installing XAMPP on a Windows system
  • Installing MAMP on a Mac system
  • Using admin consoles
  • Previewing pages
  • Working in PHP
  • Adding database tables
  • Getting data from a database
  • Building the login area
  • Planning the admin update area
  • Testing the admin update process
Developer Web video2brain
Candyce Mairs

Adding database tables

We are now going to add four additional database tables to our database for this course. When we installed the database initially within the install course files movie we only added one table to the database. And that is the log in table. So that is all our database contains at this point. I wanted to show you how you can add additional tables to a database that already exists within the PHP MyAdmin area.

The first thing you need to do is start Apache and MySQL. So I will click the Start button. For both of these. Now on the Mac side, you would go out to the MAP control console. On the PC side, we use the ZAMP Control panel. To get to the Zamp control panel, Here is my short cut. Now if I double-click this, I will need to approve it on the Window side, so I will say yes, and I'm getting this message.

I don't want you to think there's a problem with the ZAMP if you get this message, all it means is the control panel itself is already open. So I will click OK, and we'll go down to this task bar area. And this is how I can access the Control panel. So if I close and open this, it turns it on. Or I should say it turns on the Control panel. It is not turning on your web server or your database specifically.

So once we have that open, I'm going to start both of these. Once I do, I get the word running in green. If you are on the Mac side. You want to start MAMP. And MAMP is located inside your Applications folder. You should see a MAMP folder, and inside of that you can Double-click the MAMP icon. That will open up the MAMP control console and you click the Start Servers button within that environment. Okay so we have this running.

We know my sequel is working. I'm going to click the Admin button to the right of my sequel. I want to get out to the administrative area for my sequel. And what this is, is an interface. This is a little gooey. We used to have to insert tables using the command line in either the Command Interface on Windows, or Terminal on the Mac's side. Now we have this capability. We now can use PHP My Admin and have this nice little interface.

Now I do have an extra database in here that you will not see in yours and that's this unique database. If I select that database, I can delete it so it is possible. If I click the databases tab, you can see here is my database and if I check that particular database. And highlight over this, you can see it says drop. So in order to delete a database, I just want to show you this, I click the drop.

It says I'm about to destroy one, it's going to explode on us, I love that, but this is an important thing. Just in case I accidentally did this, it's a very nice reminder. I will say, do I really want to? Yes. And that database is now gone. Now you will not have that database within your interface. I just wanted to show you it's possible to drop a database. What we want to do is go over to our scuba to you it has one table this number inside the parenthesis says how many tables there are.

I will click on that and you can see we just have one table. What I want to do is add more tables to this database. So how do I go about doing that? Within your chapter 5 course files I do have another file and if you take a look at your chapter 5 start files, this is the website if you want to start chapter 5. This Chapter 5 folder will have all of the files as if you had done everything in lessons 1 to 4. But this database here, I've copied out to my desktop just to make it easier to access.

This is one called Scuba2You more this contains four additional tables we're going to put into our database. So make sure you go out to the chapter five start files and make this file easily accessible on your system so we can get to it by browsing. Now I'll go back to the admin interface and select Scuba2U. Now that I'm here, I'm going to import that file. So I will click on the import tab so make sure you are in the Scuba2U database. Log-in and showing, I'll go over here and click Import. Now I simply browse out to that text file.

Once I find it, I click the Go button in the bottom right. So I'll browse out to my desktop, move down to that sequel Scuba2U more, I'll select that file, and I will click go. I now have imported four more tables into my database. As you can see it now says five. And if I look at the structure tab here our my individual tables, within the database.

So we just very easily added four more tables to our database. I wanted to give you the chance to do this so you can get a little bit more familiar with this PHP My Admin area. If you're going to be working with data bases And dynamic driven websites, you will have to become familiar with this area and PHP My Admin is the same area on both the Mac side and the PC side so it makes it easy between the two systems. So that is how you can add additional database tables to your database for Scuba2You.

Now that we have additional information inside our database, we can start pulling that data and populating it onto our webpages. Prior to doing that we need to tell Dream Weaver Where are database is located? So we're going to move into Dreamweaver piece, letting Dreamweaver store that connection file for us so we connect us this database when we need to. So that is how you can work in the PHP my admin area to administer your database

There are currently no FAQs about Dynamic Dreamweaver Websites: Creating Login Areas.

Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Dynamic Dreamweaver Websites: Creating Login Areas.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Start your FREE 10-day trial

Begin learning software, business, and creative skills—anytime,
anywhere—with video instruction from recognized industry experts. provides
Unlimited access to over 4,000 courses—more than 100,000 video tutorials
Expert-led instruction
On-the-go learning. Watch from your computer, tablet, or mobile device. Switch back and forth as you choose.
Start Your FREE Trial Now

A trusted source for knowledge.


We provide training to more than 4 million people, and our members tell us that helps them stay ahead of software updates, pick up brand-new skills, switch careers, land promotions, and explore new hobbies. What can we help you do?

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from

Sign up and receive emails about and our online training library:

Here’s our privacy policy with more details about how we handle your information.

submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.