© 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
Colyton, Devon, UK
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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.