当前位置:网站首页>? Experiment 7 implementation of PHP management system based on MySQL
? Experiment 7 implementation of PHP management system based on MySQL
2022-07-27 07:19:00 【CSDN Q & A】
Purpose and requirement of the experiment :
1. Enable students to master Mysql Configuration of database 、 Create and maintain ;
2. Enable students to master Mysql Data table creation 、 to update 、 Delete and query ;
3. Enable students to master Mysql Database Select sentence ;
4. Enable students to master the use PHP operation Mysql Database method . Experimental content :
Design and use PHP Complete a simple library information management system . The database is required to use Mysql establish , The design of the data table in the database must meet the requirements in the requirements analysis document , And issue the necessary system E-R chart . utilize PHP The function of completes the connection of the database 、 Data record entry 、 lookup 、 Update and delete Division operation . The input of all data involved in this system adopts HTML Enter the form , Also on Necessary data fields to judge .
( The final individual score will be judged according to the specific design of your system )
(1) stay Mysql In the customer console , Use the command library information management system database and table ;(2
Class hours )
(2) Use PHPMyadmin Tools build the same database and tables .(1 Class hours )
(3) To write PHP The program completes the functional requirements of the experimental topic .(3 Class hours ) The experiment is pre recorded :
1、 Analyze the needs of the experiment , And plan the experimental steps , Draw the user's operation flow chart ;
2、 Analyze entities , Draw the experimental E-R chart , And draw the data flow chart of the test ;
3、 According to the experimental needs analysis and E-R Figure designs the database structure , And design the connection between tables ;
4、 Design the database , Create a new database , The name of the database is borrow;
5、 Because you need to register and save user information , So you need to create a new table to save readers' information to this The table is named user_msg, Create five new fields in this table , hold user_id Set the primary key , It is stored inside Basic information of the customer ;
6、 Because the administrator cannot register , So you need to create a new table , Inside is the administrator's information , Table, admin;
7、 Create a new table book_msg Inside is the information of books , Including books ID Number , and ISBN Number ;
8、 new table borrow_msg What is stored inside is the borrowed information form ;
9、 New file index.html As the user's login interface , And it can select user rights , new
build register, As the user's registration interface ;
10、 newly build check_role.php file , Accept the data submitted by the login form , And analyze whether the user is reading Or system administrator ;
11、 newly build admin.php and reader.php Two documents , As the operation interface of readers and administrators respectively , Enter when the role is administrator admin.php, Enter when the role is an ordinary user reader.php;
12、 When entering admin.php Interface time , Administrators can input information into books . Information can be Make changes , Information can be deleted , You can query the borrowing information of users
13、 establish add_booK.php file , You can add information about books , And use save_book.php
File saves book information ;
14、 establish mod_book.php Document and del_book.php file , Implement the modification and deletion of book information ;
15、 User access reader.php In file , You can query the book information , And can perform borrowing operations ;
16、 newly build boorrow_book.php You can borrow books , When you click borrow , Put the book Borrowing status of , Change it to “1”;
17、 Test the system , Check for bug.
边栏推荐
- 美联储SR 11-7:模型风险管理指南(Guidance on Model Risk Management)-万字收藏
- 请问 mysql timestamp(6) 用flink-sql接过来是 null,这点有办法处理不
- Automatically generate UML sequence diagram according to text (draw.io format)
- Synchronized锁
- Brief introduction of simulation model
- 35. Search Insert Position 搜索插入位置
- Web configuration software for industrial control is more efficient than configuration software
- The possibility of metauniverse from the perspective of technical principles: how Omniverse "built" Mars
- Cass11.0.0.4 for autocad2010-2023 dog free usage
- newest! SASAC releases new measures for digital transformation of state-owned enterprises
猜你喜欢

Bert and RESNET can also be trained on mobile phones?!

ESP8266(ESP-12F) 第三方库使用 -- SparkFun_APDS9960 (手势识别)

Usage of string class

Music website management system based on SSM

把Excel转换成CSV/CSV UTF-8

火狐浏览器,访问腾讯云服务器的时候,出现建立安全连接失败的问题。

Analysis of online and offline integration mode of o2o E-commerce

Analysis on the current situation and optimization strategy of customer experience management in banking industry

使用反射实现动态修改@Excel的注解属性

Overall dichotomy?
随机推荐
Pytorch model
指令集董事长潘爱民出席2022 ECUG Con,为中国技术力量发声
Web configuration software for industrial control is more efficient than configuration software
"Weilai Cup" 2022 Niuke summer multi school training camp 1
Gbase 8C - SQL reference 6 SQL syntax (11)
Overall dichotomy?
一款开源 OA 办公自动化系统
How to learn C language? This article gives you the complete answer
?实验 7 基于 Mysql 的 PHP 管理系统实现
从技术原理看元宇宙的可能性:Omniverse如何“造”火星
2021 interview questions for php+go of Zhongda factory (2)
Firefox browser, when accessing Tencent cloud server, failed to establish a secure connection.
35. Search Insert Position 搜索插入位置
OpenGL development with QT (I) drawing plane graphics
Interpretation of deepsort source code (VII)
Codeforces Round #804 (Div. 2)(5/5)
用typescript实现排序-递增
李沐动手学深度学习V2-transformer和代码实现
pytorch笔记:TD3
Watermelon book chapter 3 - linear model learning notes