From 2c9f4e80873612a700a33fc03771140a1d68cbfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=80=9D=E7=87=95?= <3295646815@qq.com> Date: Mon, 23 May 2022 23:40:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...07\344\273\266\344\270\212\344\274\240.md" | 2 +- ...23\347\232\204\350\277\236\346\216\245.md" | 133 ++++++++++++++++++ 2 files changed, 134 insertions(+), 1 deletion(-) create mode 100644 "\351\231\210\346\200\235\347\207\225/20220523-php\346\225\260\346\215\256\345\272\223\347\232\204\350\277\236\346\216\245.md" diff --git "a/\351\231\210\346\200\235\347\207\225/20220518-php\346\226\207\344\273\266\344\270\212\344\274\240.md" "b/\351\231\210\346\200\235\347\207\225/20220518-php\346\226\207\344\273\266\344\270\212\344\274\240.md" index dffc700..5a93a65 100644 --- "a/\351\231\210\346\200\235\347\207\225/20220518-php\346\226\207\344\273\266\344\270\212\344\274\240.md" +++ "b/\351\231\210\346\200\235\347\207\225/20220518-php\346\226\207\344\273\266\344\270\212\344\274\240.md" @@ -42,7 +42,7 @@ if ($error==0){// 判断是否上传成功 echo "允许上传的类型"; $file_tmp = $_FILES['a']['tmp_name']; - $file_path ="./fild".$name; + $file_path ="./file".$name; $re = move_uploaded_file($file_tmp,$file_path); if ($re){ echo "保存成功!"; diff --git "a/\351\231\210\346\200\235\347\207\225/20220523-php\346\225\260\346\215\256\345\272\223\347\232\204\350\277\236\346\216\245.md" "b/\351\231\210\346\200\235\347\207\225/20220523-php\346\225\260\346\215\256\345\272\223\347\232\204\350\277\236\346\216\245.md" new file mode 100644 index 0000000..e56fd3e --- /dev/null +++ "b/\351\231\210\346\200\235\347\207\225/20220523-php\346\225\260\346\215\256\345\272\223\347\232\204\350\277\236\346\216\245.md" @@ -0,0 +1,133 @@ +# 作业 + +```mysql +// mysql + +create database student charset utf8; +use student; +create table user( +id int auto_increment primary key, +name varchar(20) not null, +score decimal not null +); +insert into user(id,name,score) values + (1,'陈小龙',98.5), +(2,'吴大虫',75.5), +(3,'陈得胜',66); +``` + + + +```php +