Display user profile info on another page based on user login data

Hi! I’m seeking assistance on how to display user profile information on different pages, based on the user login data provided on the login page. My database is built using PhpMyAdmin. Here’s the workflow: when a new user signs up, they will be directed to a registration page where they can input their profile information. Subsequently, if the user wishes to view their profile, they can simply click on the profile icon, redirecting them to their profile information. However, I’m unsure about the correct code block for implementing this.

Could someone help me out? If payment is required, please state your price. Thanks!

use tinydb to store the data