In PHP, how do I get the name of a field field that was set as an automatic increment when a new recursion is added to it?
In most cases, this is the same as the PRIMARY_KEY table, but not necessarily always.
So, this question consists of two parts, and the second - in the 3rd part.
1- How to get the name of an auto-increment field name ...
2- How to get the name of the primary_key field name ...
2.1 How to get primary_key (s) information when a table uses more than one field as the primary key ...
source share