diff --git a/README.md b/README.md
index c3df979f8472088c0c28f6d9fc03ac5a4f7f9121..45d5ee50d123190580340b3dc4b3ec06dc73e5e4 100644
--- a/README.md
+++ b/README.md
@@ -17,6 +17,9 @@
**connect.php**
+如果要使用自己电脑本地数据库,可以将以下字段改成本地mysql的用户名,密码,数据库
+![](README/image14.png)
+
### 4、主界面
**head.php** **index.php** **foot.php**
@@ -55,10 +58,36 @@ user_edit-编辑用户 user_save-数据库写入用户数据 user_update-数据
![输入图片说明](README/image12.png)
+补充:如果要在本地数据库创建用户表,可以使用以下sql语句
+```sql
+create table user
+(
+ id int auto_increment,
+ username char(20) not null,
+ real_name char(20) null,
+ password char(20) not null,
+ constraint user_pk
+ primary key (id)
+);
+
+```
+
#### ②assort表:存储图书分类数据
![输入图片说明](README/image13.png)
+
+#### location表:存储图书位置管理数据
+
+```sql
+create table position
+(
+ id int auto_increment,
+ positionInfo char(128) not null,
+ constraint position_pk
+ primary key (id)
+);
+```
# 二、技术选型与结构设计
HTML、CSS、PHP、MySQL。
diff --git a/README/image14.png b/README/image14.png
new file mode 100644
index 0000000000000000000000000000000000000000..22f7c1a29cc76670eef4ad728be4234a62e50804
Binary files /dev/null and b/README/image14.png differ
diff --git a/admin/position_delete.php b/admin/position_delete.php
new file mode 100644
index 0000000000000000000000000000000000000000..f8dbde3370e211c815ace9cea4b3a47dd59d6e49
--- /dev/null
+++ b/admin/position_delete.php
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+0){
+ $_SESSION['positionInfo']=$positionInfo;
+ alert('该位置信息已经存在','position_new.php');
+ exit();
+}
+
+$sql="INSERT INTO position (positionInfo) VALUE ('$positionInfo')";
+
+// 判断是否添加成功
+$rs=mysqli_query($conn,$sql);
+if($rs){
+ $_SESSION['positionInfo']=$positionInfo;
+ alert('添加成功','position_list.php');
+}else{
+ alert('添加失败','position_new.php');
+}
\ No newline at end of file
diff --git a/admin/position_update.php b/admin/position_update.php
new file mode 100644
index 0000000000000000000000000000000000000000..c18f55ec38de2cce05b3782a9e562a463d7e911f
--- /dev/null
+++ b/admin/position_update.php
@@ -0,0 +1,17 @@
+