Home > Database > phpMyAdmin > How to set field auto-increment in phpmyadmin

How to set field auto-increment in phpmyadmin

王林
Release: 2020-01-13 09:56:21
Original
6862 people have browsed it

How to set field auto-increment in phpmyadmin

First, open phpmyadmin, create a new table, add the id field, and set the id field to the 'primary key'

How to set field auto-increment in phpmyadmin

Then, in 'Structure'>>'Modify'>>Check 'A_I'. (Extra: AUTO_INCREMENT) Automatic increment. As shown in the picture:

AUTO_INCREMENT =A_I

How to set field auto-increment in phpmyadmin

##View the effect

How to set field auto-increment in phpmyadmin

Recommended related articles and tutorials:

phpmyadmin tutorial

The above is the detailed content of How to set field auto-increment in phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template