Jump to content

help with creating who viewed members profile tables


Recommended Posts

I have nothing on paper just the idea to allow members of my site to see which members viewed their profile, where would i start as i have tried to think how this would be possible but can not find the best way.

 

i first thought of having a 'blog' table i think thats what its called with all the memberID's that viewed that member.

 

i.e.

 

CREATE TABLE IF NOT EXISTS `whoviewedme` (

  `id` bigint(20),

  `username` text NOT NULL,

  `viewedby` blob NOT NULL

)

 

 

and the viewedby would have all the id's seperated by a comma.

 

but what happens when two different members view the same profile, one of these id's would not be placed in the database?  or would it corupt the data?

 

anyone got any suggestions on how i should do this

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.