2
I have the query
SELECT coluna1, coluna2... FROM tabela
I wonder if there’s any method in the class mysqli
to return these columns that were used in the query, even if the query
does not return records. In a query
returning records I can simply use array_keys()
in the method fetch_assoc()
. But I can’t if the query
do not return records, since there will be no indexes.
I need to do this because it’s a query
great, and would like such a process to be done dynamically.
Solved! Thank you very much
– Wallace Magalhães