Auto increment in phpmyadmin

前端 未结 9 2095
暗喜
暗喜 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:44

    1. In "Structure" tab of your table
    2. Click on the pencil of the variable you want auto_increment
    3. under "Extra" tab choose "auto_increment"
    4. then go to "Operations" tab of your table
    5. Under "Table options" -> auto_increment type -> 10000

提交回复
热议问题