摘要: function CheckForm(){ var contentAll= UE.getEditor('ue').getContent();//获得编辑器内容 var detailAll= UE.getEditor('ue2').getContent();//获得编辑器内容 $('#content' 阅读全文
posted @ 2018-05-15 17:22 cctv-2014 阅读(132) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/simonchen/articles/2251966.html 阅读全文
posted @ 2018-05-09 11:05 cctv-2014 阅读(67) 评论(0) 推荐(0) 编辑
摘要: php新手经常碰到的问题,->、=> 和 :: 这三个家伙是什么分别都是做什么的啊!看着就很晕。 没关系,下面我们做一下详细的解释,如果你有C++,Perl基础,你会发现这些家伙和他们里面的一些符号功能是差不多的。 ‘- >’符号是“插入式解引用操作符”(infix dereference oper 阅读全文
posted @ 2018-05-05 09:46 cctv-2014 阅读(289) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-05-04 14:58 cctv-2014 阅读(120) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-05-04 10:42 cctv-2014 阅读(92) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/feng18/ 阅读全文
posted @ 2018-05-03 16:38 cctv-2014 阅读(78) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE HTML> <html><head><style>.error {color: #FF0000;}</style></head><body> <?php// 定义变量并设置为空值$nameErr = $emailErr = $genderErr = $websiteErr = " 阅读全文
posted @ 2018-05-03 10:03 cctv-2014 阅读(99) 评论(0) 推荐(0) 编辑
摘要: if(!isset($string1)) — 检测变量是否已设置并且非 NULLunset($string3) — 销毁指定的变量。(integer)$num — 四舍五入转化为整数settype($num,'integer') — 使用settype函数转换类型if(is_numeric($boo 阅读全文
posted @ 2018-05-02 17:58 cctv-2014 阅读(671) 评论(0) 推荐(0) 编辑
摘要: <?php // 封装_session_open()函数,连接数据库function _session_open($save_path,$session_name){ global $handle; $handle = mysqli_connect('localhost','root','111') 阅读全文
posted @ 2018-05-02 14:46 cctv-2014 阅读(88) 评论(0) 推荐(0) 编辑
摘要: <?php$path = './tmp/'; // 设置session存储路径session_save_path($path); session_start(); // 初始化session$_SESSION['username'] = true;echo "Session文件名称为:sess_" 阅读全文
posted @ 2018-05-02 14:16 cctv-2014 阅读(100) 评论(0) 推荐(0) 编辑