I have the following array:
Array ( [0] => Ficha 001 [nombre] => Ficha 001 [1] => Supermercados [matriz_nombre] => Supermercados [2] => 1000 cc [columna_nombre] => 1000 cc [3] => Heineken [fila_nombre] => Heineken [4] => 15000 [valor_fila_columna] => 15000 ) Array ( [0] => Ficha 001 [nombre] => Ficha 001 [1] => Supermercados [matriz_nombre] => Supermercados [2] => 650 cc [columna_nombre] => 650 cc [3] => Pulp [fila_nombre] => Pulp [4] => 8000 [valor_fila_columna] => 8000 ) Array ( [0] => Ficha 001 [nombre] => Ficha 001 [1] => Supermercados [matriz_nombre] => Supermercados [2] => 300 cc [columna_nombre] => 300 cc [3] => Puro Sol [fila_nombre] => Puro Sol [4] => 7500 [valor_fila_columna] => 7500 )
That has the following structure:
And I need to draw the html table as follows:
It should be emphasized that the values will be loaded dynamically from a database.