Home > Database > phpMyAdmin > body text

How to add fields in phpmyadmin

angryTom
Release: 2020-02-04 14:38:50
Original
9247 people have browsed it

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!

Related labels:
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!