From the course: PHP with MySQL Essential Training: 2 Build a CMS
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Challenge: Build admin management
From the course: PHP with MySQL Essential Training: 2 Build a CMS
Challenge: Build admin management
- [Instructor] It's time for another challenge assignment. Your challenge is to create pages in the staff area to manage the contents of the admins table we just created. Much of this challenge is a review of work that we did in part one of this course. There, we created pages to manage the contents of the subjects and pages tables by using PHP to perform similar CRUD operations: create, read, update, and delete. You'll find yourself writing code similar to this over and over when developing web applications. And you should have these skills ready whenever they're needed. Let's walk through the details of the admin management. For the admin CRUD pages, you're going to put them all in a single directory called admins, that'll keep them organized, and you're going to have five pages. Index.PHP will show a list of all the admins. Show would allow you to see details of a particular admin. New would be a web form to allow you to create new admins in the database. Edit is a web form to…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
-
(Locked)
User authentication overview5m 11s
-
(Locked)
Create admins table3m 7s
-
(Locked)
Challenge: Build admin management3m 52s
-
(Locked)
Solution: Build admin management6m 30s
-
(Locked)
PHP password functions7m 27s
-
(Locked)
Authenticate user access8m 27s
-
(Locked)
Require authorization6m 15s
-
(Locked)
Log out a user2m 48s
-
(Locked)
Optional password updating6m 2s
-
(Locked)
Authorized previewing3m 46s
-
(Locked)
-
-