06 2018 档案

摘要:Document 阅读全文
posted @ 2018-06-28 18:39 sun1987 阅读(120) 评论(0) 推荐(0)
摘要:一用form实现头像预览 二 用ajax方法实现头像预览 阅读全文
posted @ 2018-06-28 18:37 sun1987 阅读(203) 评论(0) 推荐(0)
摘要:登陆页 主页 流程添加 阅读全文
posted @ 2018-06-27 17:47 sun1987 阅读(136) 评论(0) 推荐(0)
摘要:Document 阅读全文
posted @ 2018-06-27 17:35 sun1987 阅读(126) 评论(0) 推荐(0)
摘要:登陆页面 账号: 密码: 登陆 主页面 " /> 保存 connect_error?di... 阅读全文
posted @ 2018-06-25 21:15 sun1987 阅读(156) 评论(0) 推荐(0)
摘要:Document 年 月 日 阅读全文
posted @ 2018-06-24 20:00 sun1987 阅读(153) 评论(0) 推荐(0)
摘要:Document 改图网后台管理系统 菜单1 内容1 内容2 内容3 菜单2 ... 阅读全文
posted @ 2018-06-24 19:55 sun1987 阅读(168) 评论(0) 推荐(0)
摘要:1 attr() 方法设置或返回被选元素的属性值。$("button").click(function(){ $("img").attr("width","180");});2 append() 方法在被选元素的结尾(仍然在内部)插入指定内容。$("button").click(function() 阅读全文
posted @ 2018-06-21 22:20 sun1987 阅读(151) 评论(0) 推荐(0)
摘要:Document 开发区内部留言板 帐号: 口令: Document 开发部内部留言板 返回首页 ... 阅读全文
posted @ 2018-06-21 20:33 sun1987 阅读(88) 评论(0) 推荐(0)
摘要:Document 弹出 X 阅读全文
posted @ 2018-06-21 18:48 sun1987 阅读(126) 评论(0) 推荐(0)
摘要:Document connect_error?die():""; $pcode=$_POST['pcode']; $sql="select id,area_name from dt_area where area_parent_id = '{$pcode}'"; $result... 阅读全文
posted @ 2018-06-21 18:46 sun1987 阅读(99) 评论(0) 推荐(0)
摘要:基本选择器 1.获取唯一id:$("#") $("#myid").css("color","blue"); 2.获取所有class:$(".") $(".class").css("color","yellow"); 3.获取所有元素:$("*") $("*").css("color","green" 阅读全文
posted @ 2018-06-20 16:33 sun1987 阅读(102) 评论(0) 推荐(0)
摘要:Document 查询 添加数据 添加 × ... 阅读全文
posted @ 2018-06-16 11:48 sun1987 阅读(138) 评论(0) 推荐(0)
摘要:|-边界边框|--外边距 margin |--内边距 padding(padding会加大height和width |--边框边框 border | margin-left padding-top border-right border-botton| margin/padding:上 右 下 左| 阅读全文
posted @ 2018-06-16 00:02 sun1987 阅读(109) 评论(0) 推荐(0)
摘要:其他html标签|-框架标签|--1、<frameset></frameset>| html文档中不能有<body></body>| cols 横向排列 rows 纵向排列 300,*| frameborder 框架的边框| src 引入页面的地址 |--2、<iframe></iframe>|-- 阅读全文
posted @ 2018-06-15 23:58 sun1987 阅读(111) 评论(0) 推荐(0)
摘要:主页 php页面 区域:全选 博山 沂源 桓台 北京 上海 南京 租赁类型:全选 合租 整租 房屋类型:全选 3室1厅 平房 2室1厅 筒子楼 1室1厅 4室2厅 关键字: 搜索 阅读全文
posted @ 2018-06-15 23:47 sun1987 阅读(143) 评论(0) 推荐(0)
摘要:主页 <?php //Get是用来从服务器上获得数据,而Post是用来向服务器上传递数据。 header("Content-type: text/html; charset=utf-8"); $type = $_POST['type']; $conn = new mysqli("localhost" 阅读全文
posted @ 2018-06-15 23:41 sun1987 阅读(992) 评论(0) 推荐(0)
摘要://主页 <!DOCTYPE html><html lang="zh"><head> <meta charset="UTF-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta htt 阅读全文
posted @ 2018-06-13 15:17 sun1987 阅读(117) 评论(0) 推荐(0)
摘要://主页查询 <?php $bt = empty($_POST['bt'])?'':$_POST['bt']; $zz = empty($_POST['zz'])?'':$_POST['zz'];?><!DOCTYPE html><html lang="zh"><head> <meta charse 阅读全文
posted @ 2018-06-12 20:42 sun1987 阅读(184) 评论(0) 推荐(0)
摘要://主页 <?php $bt = empty($_POST['bt'])?'':$_POST['bt']; $zz = empty($_POST['zz'])?'':$_POST['zz'];?><!DOCTYPE html><html lang="zh"><head> <meta charset= 阅读全文
posted @ 2018-06-12 20:33 sun1987 阅读(152) 评论(0) 推荐(0)
摘要:一 php输出php输出 : 1 echo 可以输出一个或者多个字符串,逗号隔开 2 print 只能输出一个字符串,成功输出则返回1 3 print_r() 4 var_dump()详细输出二 数据类型gettype()获取类型判断类型is_类型名():is_float(),is_int(),is 阅读全文
posted @ 2018-06-10 19:52 sun1987 阅读(159) 评论(0) 推荐(0)
摘要:1命令:alter table 需加外键的表 add constraint 外键名foreign key(需加外键表的字段名) references 关联表名(关联字段名);注意:外键名不能重复 2 建表时加外键 foreign key(o_buyer_id) references s_user(u 阅读全文
posted @ 2018-06-07 11:24 sun1987 阅读(385) 评论(0) 推荐(0)
摘要:一、 设有一数据库,包括四个表:学生表(Student)、课程表(Course)、成绩表(Score)以及教师信息表(Teacher)。四个表的结构分别如表1-1的表(一)~表(四)所示,数据如表1-2的表(一)~表(四)所示。用SQL语句创建四个表并完成相关题目。 表1-1数据库的表结构 表(一) 阅读全文
posted @ 2018-06-05 22:19 sun1987 阅读(196) 评论(0) 推荐(0)
摘要:—:分组查询 1 group by select *from car group by powers; 按powers字段分组显示,去除重复项。 select *from car group by powers,oil; 先按第1个字段分组,然后在第1个字段值相同的记录中, 再根据第2个字段的值进行 阅读全文
posted @ 2018-06-04 19:40 sun1987 阅读(183) 评论(0) 推荐(0)
摘要:专题:行内元素与块状元素块状元素|-特点:默认占一整行、可以自动换行、可以设置大小|-常见块状元素:div、li行内元素|-特点:不能设置宽高,内容有多大,我就有多大; 对margin仅设置左右方向有效,上下无效; 对padding设置上下左右都有效,即会撑大空间 不会自动进行换行|-常见的行内元素 阅读全文
posted @ 2018-06-04 10:29 sun1987 阅读(180) 评论(0) 推荐(0)
摘要:二、练习 1. 查询出部门编号为30的所有员工 Select * from ygb where deptno=30; 2. 所有销售员的姓名、编号和部门编号。 Select ename ,mgr ,deptno from ygb; 3. 找出奖金高于工资的员工。 Select * from ygb 阅读全文
posted @ 2018-06-03 18:35 sun1987 阅读(226) 评论(0) 推荐(0)
摘要:添加表数据 1 insert into car values(' ',' ',' ', ' ',' '); 2 insert into car(字段1,字段2,....) values(值1,值2,.....); 3 insert into car set 字段1=值一,字段2=值2,...; 修改 阅读全文
posted @ 2018-06-03 11:33 sun1987 阅读(152) 评论(0) 推荐(0)
摘要:1.显示当前所有数据库 show databases; 2创建数据库 create database ceshi; 3进入(使用)数据库 use ceshi; 4显示数据库中的表 show tables; 备注: 数据类型 数字型: 整型: tinyint 1字节 2的8次方 int 4字节 2的6 阅读全文
posted @ 2018-06-01 16:21 sun1987 阅读(260) 评论(0) 推荐(0)