M
M
Monitorkin2017-01-20 15:09:35
PHP
Monitorkin, 2017-01-20 15:09:35

How to output data from EAV database to table?

There is an EAV table base:
product - products (key: product_id);
params - product parameters (keys: product_id, param_id);
value - values ​​of product parameters (key: param_id)
Please tell me how to display a set of product parameters in a flat table, for example, like this:

product_id | param_id1 | param_id2 | param_id3
1          | value1    | value2    | value3
2          | value1    | value2    | value3
3          | value1    | value2    | value3

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question