摘要: <?php if ($data['status']==1){ ?> <input type="radio" name="status" value="1" checked>正常 <input type="radio" name="status" value="2">异常 <?php }else{ ? 阅读全文
posted @ 2021-07-22 16:55 王越666 阅读(20) 评论(0) 推荐(0) 编辑
摘要: insert into test2(name,gender,age) select name,gender,age from test2; 蠕虫程序复制 (1) 要有初始值 (2) Insert into 表名 (字段1,字段2…) select 字段1,字段2… from 表名 (3) 成2^n复 阅读全文
posted @ 2021-07-22 14:59 王越666 阅读(66) 评论(0) 推荐(0) 编辑
摘要: <?php$link=new PDO('mysql:host=127.0.0.1;charset=utf8;dbname=day4','root','root');$sql="select * from user_name";$PDOStatement=$link->query($sql);$dat 阅读全文
posted @ 2021-07-22 13:40 王越666 阅读(46) 评论(0) 推荐(0) 编辑