From 520d6f0909fe43cd34ebd116408e1c09005ccb62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B2=91=E6=98=A5=E6=9F=B3?= <1553690980@qq.com> Date: Tue, 24 May 2022 12:46:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=9C=E4=B8=9A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...45\346\225\260\346\215\256\345\272\223.md" | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 "\345\262\221\346\230\245\346\237\263/2022.5.24-PHP\350\277\236\346\216\245\346\225\260\346\215\256\345\272\223.md" diff --git "a/\345\262\221\346\230\245\346\237\263/2022.5.24-PHP\350\277\236\346\216\245\346\225\260\346\215\256\345\272\223.md" "b/\345\262\221\346\230\245\346\237\263/2022.5.24-PHP\350\277\236\346\216\245\346\225\260\346\215\256\345\272\223.md" new file mode 100644 index 0000000..f7cf6d1 --- /dev/null +++ "b/\345\262\221\346\230\245\346\237\263/2022.5.24-PHP\350\277\236\346\216\245\346\225\260\346\215\256\345\272\223.md" @@ -0,0 +1,31 @@ +```php +2"; +$result=mysqli_quer($con,$sc) or die("执行失败".mysqli_error($con)); +/*修改数据*/ +$xg="update 'user' set 'name'='陈小龙' where `id`=1"; +$result=mysqli_quer($con,$xg) or die("执行失败".mysqli_error($con)); +/*查询数据*/ +$cx="select * from `user` "; +$result=mysqli_quer($con,$cx) or die("执行失败".mysqli_error($con)); +``` + -- Gitee