diff --git "a/\346\261\244\344\272\246\345\207\241/20220524-php\347\275\221\351\241\265\345\210\266\344\275\234.md" "b/\346\261\244\344\272\246\345\207\241/20220524-php\347\275\221\351\241\265\345\210\266\344\275\234.md" new file mode 100644 index 0000000000000000000000000000000000000000..ac33d0bda4ee686fd5581739ea87b95b842f64c6 --- /dev/null +++ "b/\346\261\244\344\272\246\345\207\241/20220524-php\347\275\221\351\241\265\345\210\266\344\275\234.md" @@ -0,0 +1,212 @@ +```mysql +CREATE DATABASE student CHARSET utf8; +use student; +CREATE table user( +id int PRIMARY key auto_increment, +name VARCHAR(20) not null, +score DECIMAL(5,2) not null +); +INSERT into user VALUES (1,"陈小龙",98.5),(2,"吴大虫",75.5),(3,"陈得胜",66); +``` +```php + + +//conn.php + + +
+ +编号 | +姓名 | +成绩 | +操作 | +暂无数据! | "; + }else { + while ($row = mysqli_fetch_assoc($result)) { + ?> +
---|---|---|---|
+ | + | + | 修改| + 删除 | +