摘要: //查 //查询表里的所有数据 select * from 表名 //根据id等字段查询数据 select * from 表名 where 字段 = 值 or 字段 = 值 (例):select * from 表名 where id = 1 or name = admin; //模糊查询 like 阅读全文
posted @ 2019-04-28 14:44 钧一 阅读(1436) 评论(0) 推荐(0) 编辑
摘要: 第一种 也是最古老的一种方法之一 from 表单直接提交数据到php文件里 action为路径 <form method="post" action="./index.php"> <input name="username" placeholder="用户名" type="text" > <inpu 阅读全文
posted @ 2019-04-28 12:11 钧一 阅读(878) 评论(0) 推荐(0) 编辑