Comparing Table Structures

is there a function that sends a tables structure to an array so I can make comparisons?

What do you mean by ‘table structure’?

the display I get from phpmyadmin when I click the structure tab. Is there a function to get that into an array?

you can run queries against the INFORMATION_SCHEMA tables

you’ll probably want to query the INFORMATION_SCHEMA.COLUMNS table, giving a table name for the search criterion in the WHERE clause

Thanks C. Ankerstjerne and r937. the INFORMATION_SCHEMA is the ticket I needed