摘要: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.or 阅读全文
posted @ 2016-09-02 19:05 雍家培 阅读(197) 评论(0) 推荐(0) 编辑
摘要: var html = "<div style='color:red'>这是测试的弹窗</div>";var button ="<input type='button' value='确定' /><input type='button' value='取消' />";var win = new Win 阅读全文
posted @ 2016-09-02 19:02 雍家培 阅读(281) 评论(0) 推荐(0) 编辑
摘要: 客户端:<?phpheader("Content-type: text/html; charset=utf-8");/** * File name:client.php* 客户端代码* * @author guisu.huang* @since 2012-04-11*/set_time_limit( 阅读全文
posted @ 2016-09-02 19:00 雍家培 阅读(182) 评论(0) 推荐(0) 编辑
摘要: <?php /** file: Page.class.php 完美分页类 Page */ class Page { private $total; //数据表中总记录数 private $listRows; //每页显示行数 private $limit; //SQL语句使用limit从句,限制获取 阅读全文
posted @ 2016-09-02 18:58 雍家培 阅读(441) 评论(0) 推荐(0) 编辑
摘要: <?phpclass DBDA{ public $host="localhost";//服务器地址 public $uid="root";//用户名 public $pwd="";//密码 public $conn;//连接对象 //操作数据库的方法 //$sql代表需要执行的SQL语句 //$ty 阅读全文
posted @ 2016-09-02 18:36 雍家培 阅读(358) 评论(0) 推荐(0) 编辑