rockinaway Posted September 9, 2007 Share Posted September 9, 2007 In my left join there are two columns that have the same name.. How can I get their different values when rgetting them through an array? Quote Link to comment https://forums.phpfreaks.com/topic/68578-left-join-two-similar-columns/ Share on other sites More sharing options...
Barand Posted September 9, 2007 Share Posted September 9, 2007 Give them different column aliases in the query. SELECT a. name as namea, b.name as nameb, ... Quote Link to comment https://forums.phpfreaks.com/topic/68578-left-join-two-similar-columns/#findComment-344730 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.