上一页 1 ··· 3 4 5 6 7 8 9 10 下一页
摘要: <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>无标题文档</title><script src= 阅读全文
posted @ 2017-01-05 11:00 F4ntasy 阅读(106) 评论(0) 推荐(0) 编辑
摘要: //JSON是一种数据格式//JSON比较像php里面的关联数组,它里面存的内容也是key和value成对存在的 </body><script type="text/javascript"> var js = { "one":"hello", "two":"world", "three":"汉族" 阅读全文
posted @ 2017-01-04 15:29 F4ntasy 阅读(267) 评论(0) 推荐(0) 编辑
摘要: Jquery使用时要引用,引用时放在最前。 Jquery: $代表选择器, $(document) ready(function(e){}):找到页面,页面加载完成后执行。 JS选取元素操作内容操作属性操作样式 选取元素 JS:document.getElementByid("aa")找到的是dom 阅读全文
posted @ 2017-01-03 10:38 F4ntasy 阅读(126) 评论(0) 推荐(0) 编辑
摘要: <?php /** file: page.class.php 完美分页类 Page */ class Page { private $total; //数据表中总记录数 private $listRows; //每页显示行数 private $limit; //SQL语句使用limit从句,限制获取 阅读全文
posted @ 2016-12-29 15:42 F4ntasy 阅读(119) 评论(0) 推荐(0) 编辑
摘要: <form action="shanchu.php" method="post"><table width="100%" border="1" cellpadding="0" cellspacing="0"> <tr> <td><input type="checkbox" id="qx" oncli 阅读全文
posted @ 2016-12-29 15:28 F4ntasy 阅读(123) 评论(0) 推荐(0) 编辑
摘要: <h1>注册页面</h1><form action="zhucechili.php" method="post"> <div>用户名:<input type="text" name="uid" /></div> <div>密码:<input type="text" name="pwd" /></di 阅读全文
posted @ 2016-12-29 15:12 F4ntasy 阅读(122) 评论(0) 推荐(0) 编辑
摘要: <?phpclass DBDA{ public $host="localhost"; public $uid = "root"; public $pwd = "123"; public $dbname = "mydb"; //成员方法 public function Query($sql,$type 阅读全文
posted @ 2016-12-27 10:14 F4ntasy 阅读(74) 评论(0) 推荐(0) 编辑
摘要: ?phpsession_start(); //开启SESSION?> <?php //会话保持 //1.session//特点://(1)有默认过期时间,大约15分钟//(2)存储在服务器的,每个人存一份//(3)可以存储任意类型数据//用法://使用session的页面最上端需要加session_ 阅读全文
posted @ 2016-12-23 10:30 F4ntasy 阅读(131) 评论(0) 推荐(0) 编辑
摘要: 让info表在网页中显示 <h1>人员表</h1><table width="100%" cellpadding="opx" cellspacing="0px" border="1px"> <tr> <td>代号</td> <td>姓名</td> <td>性别</td> <td>民族</td> <t 阅读全文
posted @ 2016-12-20 09:28 F4ntasy 阅读(270) 评论(0) 推荐(0) 编辑
摘要: //1.造连接对象$db = new MySQLi("localhost","root","123","mydb"); //2.判断连接是否出错if(mysqli_connect_error()){ die("连接失败!");} //3.准备SQL语句$sql = "select name from 阅读全文
posted @ 2016-12-19 08:44 F4ntasy 阅读(134) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 下一页

對不起,您的瀏覽器不支持Flash


請使用支持Flash的瀏覽器訪問本頁,謝謝!