Auto increment in phpmyadmin

前端 未结 9 2116
暗喜
暗喜 2020-11-28 05:19

I have an existing database using PHP, MySQL and phpMyAdmin.

When users become a member on my website, I need the system to create a unique membership number for the

9条回答
  •  情书的邮戳
    2020-11-28 05:54

    There are possible steps to enable auto increment for a column. I guess the phpMyAdmin version is 3.5.5 but not sure.

    Click on Table > Structure tab > Under Action Click Primary (set as primary), click on Change on the pop-up window, scroll left and check A_I. Also make sure you have selected None for Defaultenter image description here

提交回复
热议问题