摘要: <form method="post" name="form"> <input type="text" name="user" value="我的名字"/> <input type="password" name="pass" value=""/> <input type="submit" oncl 阅读全文
posted @ 2017-12-13 10:31 yewook 阅读(2060) 评论(0) 推荐(0) 编辑
摘要: 之前做了一个网站 但是没有用到事物回滚机制 问题以后肯定会暴露很多的 为了避免以后修改,估计要推翻,重新建议一个网站了 哭哭... 用PHP做事物回滚 1、关闭自动提交 $mysqli->autocommit(false); 2、利用影响行(affected_rows)判断是否语句执行成功 3、如果 阅读全文
posted @ 2017-11-22 16:35 yewook 阅读(416) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" src="/ckplayer/ckplayer.js" charset="utf-8"></script> <div id="videoWrap"></div><script type="text/javascript">showPlay 阅读全文
posted @ 2017-09-13 21:36 yewook 阅读(2453) 评论(0) 推荐(0) 编辑
摘要: 帝国建站的时候发现,如果在PC站发文章,那么移动站的文章正文无法显示... 搜索调试了很久,原来是要对config进行配置。 在移动站config.php文件,对 $ecms_config['sets']['txtpath']='D:/PC站路径/d/txt/'; //文本型数据存放目录 阅读全文
posted @ 2017-09-13 21:33 yewook 阅读(169) 评论(0) 推荐(0) 编辑
摘要: <ul id="nav"> <li ><a href="index.html">首页</a></li> <li ><a href="1.html">第一</a></li> <li ><a href="2.html">第二</a></li> <li ><a href="3.html">第三</a></ 阅读全文
posted @ 2017-07-14 11:35 yewook 阅读(274) 评论(0) 推荐(0) 编辑
摘要: div是固定宽度,想要让a标签不折行 <div> <a href="#">测试</a><a href="#">测试</a><a href="#">测试</a><a href="#">测试</a><a href="#">测试</a><a href="#">测试</a><a href="#">测 阅读全文
posted @ 2017-06-19 17:12 yewook 阅读(168) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>image</title><style>div{ width: 200px; height: 150px; 阅读全文
posted @ 2017-04-20 10:49 yewook 阅读(236) 评论(0) 推荐(0) 编辑
摘要: <html> <body> <div style="height:0px;width:400px;background:rgba(88,116,178,0.6);overflow:hidden;" class="div3"></div> </body> </html> <script>window. 阅读全文
posted @ 2017-02-16 15:25 yewook 阅读(546) 评论(0) 推荐(0) 编辑
摘要: <div class="carousel slide" id="myCarsousel" style="width:790px;"> <ol class="carousel-indicators"> <li data-target="#myCarsousel" data-side-to="0" cl 阅读全文
posted @ 2017-02-11 22:41 yewook 阅读(142) 评论(0) 推荐(0) 编辑
摘要: js五种基本类型:string,number,null,boolean,undefined. 一种引用类型:object 用typeof检测的数据类型:string,number,boolean,undefined,function NaN的特点:1.本身不相等 2.涉及任何关于NaN的操作都返回N 阅读全文
posted @ 2017-02-06 19:02 yewook 阅读(89) 评论(0) 推荐(0) 编辑