There are cookies:
id
hash
We need to take the id from the cookies and display the user login with this id from the database and display it here: $username =
Please help c:
You can read cookies in php in this way $_COOKIE["name"] - where name is the name of the cookie .
You make a query to the database like "SELECT id, username FROM users WHERE id = " .$_COOKIE["id"];