xxreenaxx1 Posted January 20, 2011 Share Posted January 20, 2011 Hi I have created a table for both student/staff in one table but now I want to use these two attribute in one table. Is that possible. Eg. User table. Contains staff and student details. userid 0001- staff userid 0002-student these also have roleid roleid for 0001 would be 1- since its a staff roleid for 0002 would be 0- since its a student with this user name.. i want to merge them as user-subject so for this i need staff information and student. But will I be able to use userid twice on this table. have I confused you Quote Link to comment https://forums.phpfreaks.com/topic/225083-when-you-create-a-table-can-you-have-same-attribute-repeating/ Share on other sites More sharing options...
mikosiko Posted January 20, 2011 Share Posted January 20, 2011 try again Quote Link to comment https://forums.phpfreaks.com/topic/225083-when-you-create-a-table-can-you-have-same-attribute-repeating/#findComment-1162553 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.