Issue with join and 2 exact column names

velmalavender

New Member
Never came across this before...\[code\]SELECT ".TBL_USERS.".username, ".TBL_USERS.".id, <-----------| ".TBL_COMMENTS.".creator, | ".TBL_COMMENTS.".comment, |- same column name ".TBL_COMMENTS.".date, | ".TBL_COMMENTS.".id <---------|\[/code\]As you can see, I am selecting two id columns... When i take them in PHP:\[code\]$userid = $row['id'];\[/code\]How will I be able to realize which one is which?
 
Back
Top