Jump to content

show and hide data


stuart7398

Recommended Posts

Hi. I'm looking to show and hide data in Mysql.

My site shows various profiles of people and I want to show their contact details with the last 3 letters or numbers using an '*'

When a new member joins the site they will then be shown full contact details without the '*'

 

when i enter new members details into the mysql table, how would i make showing and hiding data possible using php mysql?

 

thanks.

 

Link to comment
Share on other sites

Hi. I'm looking to show and hide data in Mysql.

My site shows various profiles of people and I want to show their contact details with the last 3 letters or numbers using an '*'

When a new member joins the site they will then be shown full contact details without the '*'

 

i have a members only area.

 

when i enter new members details into the mysql table, how would i make showing and hiding data to members only possible using php mysql?

 

thanks.

 

 

Link to comment
Share on other sites

Normally such system use sessions to check if user is logged in or not. e.g. Once a user give provide username and password and submit, system verify the details and set session bit that this user has provided a valid username and password. You can check this session bit.

 

Click here to know about sessions.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.