Magento 2 Development Workshop Learn More

User Registration with PHP and MySQL

14 lessons

Creating Flush Messages with Session

In this lesson, we are going to learn how to create flush messages with the session array.

Lesson Overview

In this lesson, we are going to learn:

  • How to include messages.php script into the register.php script
  • How to redirect from one page to another using the header() function.
  • How to read and write data from the $_SESSION array