phpMyAdmin foreign key drop-down field values

后端 未结 5 1948
春和景丽
春和景丽 2021-02-20 04:47

I\'m using phpmyadmin (php & mysql) and I\'m having a lot of trouble linking the tables using foreign keys.

I\'m getting negative values fo

5条回答
  •  孤街浪徒
    2021-02-20 05:01

    You can change the look of this dropdown using the ForeignKeyDropdownOrder option. (See the PMA documentation).

    Example:

    $cfg['ForeignKeyDropdownOrder'] = array( 'content-id');
    /* 'content' is the referenced data, 'id' is the key value. */
    

提交回复
热议问题