PHP develops news management system to create database

Next we open the command line of mysql

5.png

Enter the password and press Enter,

Now we can create the database

The database name is news

1.png

Next we have to check whether the news database has been created

2.png

As shown in the picture above, we have clearly seen that there is news on it, so our database has been created

Now we have to operate the news database

Let's create a simple data table

Table name new

id title (title) content (content) messtime

Let’s create a data table, first select the database

3.png

In this way, we have selected the news database. Next, we will create the data table

4.png

In this way, our table is created

Continuing Learning
||
submit Reset Code
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!