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 dffc7006915a9aee844c10ba19af85d1f7ca8033..5a93a65c47c5ec10655482cbe63c5c180300c674 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 0000000000000000000000000000000000000000..e56fd3e0cf6a6631081937e4f16b245b505c5951 --- /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 +