I’ve got two tables
The first has user transactions:
Date Transaction P1 P2 P3 P4 P5
(P1-P5 are three digit user ID’s)
Each transaction has 1, 2, 3, 4, and sometimes 5 users associated with it.
The second table has the user info:
ID NAME ACTIVE
I’m used to using a JOIN to display the user’s NAMES as opposed to their ID, but with FIVE users, I have no idea how do display their names in my PHP/HTML table.
Would anyone be able to shed some light on this?
You can join the same table for every user. If you do so you have to alias the multiple joined table differently.