I managed to solve my problem with getAll and loop after it. But as I’m not very good with mysql queries and such, I decided to ask you if there’s a way to get using getAssoc from table:
A | B | C
1 | 2 | 3
1 | 3 | 4
an array with structure:
$array[1][2]=3
[1][3]=4
Is this what you want
Also remember, don’t use
mysql_*, PHP isn’t supporting it anymore. Better to switch to mysqli or PDO