I have a table with event strings, and each of them (among many other fields) addedbyuser , editedbyuser , deletedbyuser There is an INT , and refer to the users table for a specific user. I can join one of the fields (say addedbyuser ) without any problems, how can I join the others and refer to them in php?
event table:
eventid addedbyuser editedbyuser deletedbyuser 1 1 2 3
user table:
id username 1 name1 2 name2 3 name3
So basically, I want to display the names of those who added, edited and deleted the article, can I do this in a single SQL query?
source share