Table 1 - users example
ID usr_login user_email display_name
1 john john@gmail.com John Jones
2 steve steve@att.com Steve Jobs
3 tom tom@verizon.net Tom Thumb
Table 2 - usermeta
umeta_id user_id meta_key meta_value
1 1 phone 8005551212
2 1 email john@gmail.com
3 1 b_date 12/25
20 2 phone 2025554567
21 2 email steve@att.com
22 2 b_date 11/01
40 3 phone 9095559876
41 3 email tom@verizon.net
42 3 b_date 01/30
I am trying to display the fields on a webpage in this format
User1-DisplayName User1-eMailAddress User1-Phone User1-Bdate
User2-DisplayName User2-eMailAddress User2-Phone User2-Bdate
User3-DisplayName User2-eMailAddress User3-Phone User3-Bdate
I can get data to display from each of the tables. But, I have not been able to get data to show from both tables together. I know enough to know that I should use a join, but can seem to get the select statement correct.
Thanks in advance, Kevin