I have a simple MySQL query, in a table in phpMyAdmin. I want to display the results horizontally, not vertically.
SELECT `FieldName`,`FieldValue` FROM `table`
Fieldname: name, surname, age etc
Fieldvalue: john, doe, 25 etc
I show in the image the way it is displayed, and how I want it to be displayed. The way it is displayed now:
1) Displayed 2- how to display it
Edit: pivot only works for a few records. Not thousands. Cannot specify each value one by one.