摘要: info表 nation表 一.注册 1.注册页面 2.注册处理页面(向数据库的表中写入数据)chuli.php 二.登录 1.登录页面 2.登录处理页面 denglu.php 三.删除 1.显示info表信息页面 2.删除处理页面 阅读全文
posted @ 2017-04-26 19:30 ChrissZhao 阅读(322) 评论(0) 推荐(0) 编辑
摘要: php数据访问1.造连接对象$db = new MySQLi("localhost","root","123","test_123"); //("本地主机名","用户名","密码","数据库名")2.写SQL语句$sql="select * from student";3.执行SQL语句,返回结果集 阅读全文
posted @ 2017-04-26 11:53 ChrissZhao 阅读(263) 评论(0) 推荐(0) 编辑