Home >Database >phpMyAdmin >How to add fields in phpmyadmin

How to add fields in phpmyadmin

angryTom
angryTomOriginal
2020-02-04 14:38:509368browse

With the expansion of business, new fields may need to be added to the data table. phpmyadmin can easily add the fields you want. Let’s take a look!

How to add fields in phpmyadmin

How to add fields to phpmyadmin

Here we take the user table as an example and add a gender field to mark the user's gender .

1. First log in to phpmyadmin, click the user table in the database list on the left

You can see that there are only three fields: id, name, and age

2. Let’s click “Structure”

How to add fields in phpmyadmin

3. Click the “Execute” button in the picture below

How to add fields in phpmyadmin4. Relevant information of the input field

How to add fields in phpmyadmin

5. After clicking Execute, the execution result will be output

How to add fields in phpmyadmin

#6. Click "Browse" to see that the gender field has been added.

How to add fields in phpmyadmin

Recommended: phpMyAdmin usage tutorial

The above is the detailed content of How to add fields in phpmyadmin. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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