phpMyAdmin foreign key drop-down field values

后端 未结 5 1845
春和景丽
春和景丽 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条回答
  •  Happy的楠姐
    2021-02-20 05:12

    As i explained on ServerFault:

    It is not negaitve number, the feature of phpMYAdmin is to show foreign key value and a custom description field next to it. In the referenced table (Counties) you can go to "Relation view" and under the table there is a select box "Choose field to display", in which you choose value that will be displayed next to CountyID value in the referencing table (Baronies). Also see: phpymadminWiki

提交回复
热议问题