© Adrian W. West and Steve Prettyman 2018
Adrian W. West and Steve PrettymanPractical PHP 7, MySQL 8, and MariaDB Website Databaseshttps://doi.org/10.1007/978-1-4842-3843-1_3

3. Create Login/Logout Functionality for Members and an Administrator

Adrian W. West1  and Steve Prettyman2
(1)
Colyton, Devon, UK
(2)
Key West, Florida, USA
 

In Chapter 2, we created the first interactive pages using a database and a table. By now, you have probably realized that what we created was not very practical; however, you learned how to embed interactivity into a real-world page. A more practical application is to allow registered users to log in and log out of private pages. When users log in, they should be able to access extra features offered by the website. These ...

Get Practical PHP 7, MySQL 8, and MariaDB Website Databases: A Simplified Approach to Developing Database-Driven Websites now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.