How to display a section of my webpage to a logged in user if his data is on the database table, and display a message if no data was found

Sorry bout the late reply @droopsnoot , this has been fixed.

Thanks for your help.

But, I’m currently facing a different issue. Please, can you take a look at the question in my profile?

Thanks, once again.