michael624 Posted June 3, 2009 Share Posted June 3, 2009 I am creating a database that involves users and a UID. I have a 'user_id' so to relate to other tables in joins. Also I have a 'uid' so each user has a unique ID for outside database tracking. I have partners that tell me when my user visits their site by the URL like this: www.sample.com/visit.php?uid=432jh65j They then send an a message to me saying user '432jh65j' has visited their site. I wanted to know if I should have a seperate 'uid' and 'user_id', the uid is for outside tracking and the user_id is for joins. Is this ok? Link to comment https://forums.phpfreaks.com/topic/160828-creating-user-unique-ids/ Share on other sites More sharing options...
fenway Posted June 6, 2009 Share Posted June 6, 2009 Sure. Link to comment https://forums.phpfreaks.com/topic/160828-creating-user-unique-ids/#findComment-850516 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.