Whenever I try to insert a new record in my MySQL database using phpMyAdmin, if the column refers to a foreign key, i get a dropdown box with the valid IDs that i can use. The problem is when the database gets too big, the ID is meaningless for me. For example if the ID is the social security number of the employee, i don't know it, but i can probably remember the name. Is there a way to display the row contents next to the ID or at least one column that could be more meaningful to the user? I have seen that feature in phpPgAdmin.
I tried this in the config file:
$cfg['ForeignKeyDropdownOrder'] = array( 'content-id', 'id-content' );
But it didn't work.
phpMyAdmin has a function for this, but you must be using the InnoDB table type. You must also have pmadb configured.
The column value will now be shown next to the id. It will also be shown when hovering over the foreign key value after making a selection.
For anyone having trouble getting this setup, please see the #relation-view documentation which tells you exactly how to configure it with screenshots.