(get, post)
前端页面:
action : 指定提交的地址
method : 指定提交方式 (get/post)
name:指定给表单元素, 将来后台通过 name 来获取数据...1, 字段2, .... ) values (值1, 值2, .... )
删除
delete from 表名 where id = 10;
修改
update 表名 set 字段...1=值, 字段2=值2 where 条件
查询
select name, age, sex from 表名
高级查询
where 条件
并且 and where id > 3 and...表A.字段=表B.字段 where 条件
5-PHP操作mySql 相关api
连接数据库 mysqli_connect( ip, 用户名, 密码, 数据库, 端口号 );
准备 sql(外双内单...如果cookie 中没有 sessionId, 直接拦截到登陆页
2.