I have searched for the references for this question. however, found row based solutions. Can you please provide any references for column based... mysql database contains three coulmns
question | Answer | IP
q1 | a3 | 0.0.0.0
q2 | a2 | 0.0.0.0
q3 | a4 | 0.0.0.0
q1 | a3 | 1.1.1.1
q2 | a2 | 1.1.1.1
q3 | a2 | 1.1.1.1
The output for this in php table like....
question | IP | IP | and so on....
| 0.0.0.0 | 1.1.1.1 |
q1 | a3 | a3 |
q2 | a2 | a2 |
q3 | a4 | a2 |
Thanks, ShailShin