Hi, in my application, each user belongs to a team. Now i want to show this team name beside the user name in the user management section.
That is, when i click on admin > User management, i will see a list of users there, with some columns such as: Department, Email, Phone, Status, etc.
I also want to show the team name as one column. How can i go with this?
(I know that this seems to be a many-to-many relationship, but every user belongs to some or other team.)
But i just want to write the query and get the team of the user, and show here. Please guide me.


LinkBack URL
About LinkBacks



Reply With Quote
Bookmarks