O'Reilly logo

Practical PHP 7, MySQL 8, and MariaDB Website Databases: A Simplified Approach to Developing Database-Driven Websites by Steve Prettyman, Adrian W. West

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© 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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required