Before marking this post double, read carefully. I have a MySQL base with 3 tables, T1, T2 and T3. Their data are these:
T1:
name val1 val2
John 1 2
Mary 1 2
T2:
name val3 val4
John 3 4
Mark 1 2
T3:
name val5 val6
John 5 6
Mark 3 4
Mary 4 5
and I want to create the following combined html table:
name val1 val2 val3 val4 val5 val6
John 1 2 3 4 5 6
Mary 1 2 - - 4 5
Mark - - 1 2 3 4
It seems very complicated to me. Any ideas how to do it?