Jump to content

help with creating who viewed members profile tables


newbeee

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.