-2
I have a table with 1000 columns (example), how to display the content , of all columns of a row obtained through the "ID"?
SELECT * FROM `tabela_1000_colunas` WHERE id = 1;
After this select, how do I display in "html" the contents of these 1000 columns? Ex: column1 column2 column3...column999 column1000 date1 date2 date3 date999 date1000
It’s not the same question, a suggestion is to take the names of the fields through the
array_keys()
and make another foreach that itere this array, thus becomes dynamic.– rray