diff --git "a/\345\274\240\346\273\241\345\251\267/20220523php\345\242\236\357\274\214\345\210\240\357\274\214\346\224\271.md.txt" "b/\345\274\240\346\273\241\345\251\267/20220523php\345\242\236\357\274\214\345\210\240\357\274\214\346\224\271.md.txt"
index 2313ac3523f6a42459aed8fbefa1bc362bcefa17..fa4fe23b788f95d02371190b0a6fe6024551cd21 100644
--- "a/\345\274\240\346\273\241\345\251\267/20220523php\345\242\236\357\274\214\345\210\240\357\274\214\346\224\271.md.txt"
+++ "b/\345\274\240\346\273\241\345\251\267/20220523php\345\242\236\357\274\214\345\210\240\357\274\214\346\224\271.md.txt"
@@ -57,6 +57,15 @@ mysqli connect(服务器地址用户名,密码数据库名,端口号socket);
## 作业
```php
+use student;
+
+create table user(
+user_id int primary key auro_increment,
+user_name varchar(20) not null,
+user_score decimal(3,1) not null
+);
+
+
4";
mysqli_query($sjk,$san)or die("数据删除错误");
@@ -92,8 +102,13 @@ mysqli_error($sjk);//防止乱码
//查找数据
$cha="select * from `user` where id=3";
-mysqli_query($sjk,$cha)or die ("查找数据错误");
+$chazhao=mysqli_query($sjk,$cha)or die ("查找数据错误");
mysqli_error($sjk);
+while ($a = mysqli_fetch_assoc($chazhao)) {
+ echo $a['id'] . " " . $a['name'] . " " . $a['score'] . "
";
+}
+
+
```
diff --git "a/\345\274\240\346\273\241\345\251\267/2022052\345\255\246\347\224\237\347\263\273\347\273\237.md" "b/\345\274\240\346\273\241\345\251\267/2022052\345\255\246\347\224\237\347\263\273\347\273\237.md"
new file mode 100644
index 0000000000000000000000000000000000000000..4614fb5aea20b210f7eb7d82b874901f1e6f0b21
--- /dev/null
+++ "b/\345\274\240\346\273\241\345\251\267/2022052\345\255\246\347\224\237\347\263\273\347\273\237.md"
@@ -0,0 +1,265 @@
+```php
+use student;
+
+create table user(
+user_id int primary key auro_increment,
+user_name varchar(20) not null,
+user_score decimal(3,1) not null
+);
+
+$tj="insert into user (name,score) value ('陈小龙','98.5'),('吴大虫','75.5'),('陈得胜','66')";
+$cxl=mysqli_query($sjk,$tj);
+```
+
+
+
+```PHP
+
+
+
+
+
+
+
+
学生编号 | +学生姓名 | +学生成绩 | +操作 | +暂无数据! | ";//colspan合并为一列 + }else { + while ($row = mysqli_fetch_assoc($jgj)) {//从结果集中取得一行作为关联数组 + ?> +
---|---|---|---|
+ | + | + + | 修改| + 删除 | +