I have a table one this:
Id FieldId Value
----------------------
1 - 23 - Jhon Smith
2 - 24 - jhon@gmail.com
3 - 28 - company name
4 - 29 - zipcode
I need a get all data from this table in one mysql query.
I need all this data in one row in query result.
Because a column: Value ->have a Name, Email, Company name and Zipcode.
This is because this table can create more fields for a form.
Here is the correct example. The structure of your table is wrong . Run these sql commands
And Now