user3026665 user3026665 - 1 year ago 88
PHP Question

Php save page id

What is a function that saves the page id? let me explain it for example I am in a lesson and want to save the current lesson,so when I came later to see where I left. Help me!

Answer Source

You can use Session, session is an array that You can store information in it, You must save every user_id or lesson_id in a data storage(like database) and can access information of user by its id.