Please tell me a way on how to make that if the user has not logged-in the site, he cannot see specific text, instead he will see something like “This content is only for registered users. To register click here.” Or something around that way…
Thanks!
set
SESSION['user_id']value for the logged userand u apply the logic on that specific div