[经验分享] Windows Server 2012 配置指南 之 MySQL环境搭建篇
MySQL 5.6.15下载地址:http://cdn.mysql.com/Downloads/M ... munity-5.6.15.0.msiMicrosoft Visual C++ 2010 可再发行组件包下载地址:http://download.microsoft.com/do ... 6E/vcredist_x86.exe安装“vcredist_x..
matecmf 2019-08 789
MySQL 5.6.15下载地址:http://cdn.mysql.com/Downloads/M ... munity-5.6.15.0.msiMicrosoft Visual C++ 2010 可再发行组件包下载地址:http://download.microsoft.com/do ... 6E/vcredist_x86.exe安装“vcredist_x..
matecmf 2019-08 789
ajax是局部刷新。用jQuery来实现,会简化很多。下面进行详细的说明,结合一个ajax删除的案例来进行。首先看html界面的代码:<ahref="javascript:;"onclick="delete_order('<?phpecho$item[order_id];?>')">..
matecmf 2019-08 825
通过jQuery ajax实现从服务器查询数据,返回给前端并显示到html页面html文件<!DOCTYPEhtml><htmlxmlns:th="http://www.thymeleaf.org"><head><metacharset="UTF-8"><title>使用jQueryvalidate表单验证</title><scrip..
matecmf 2019-08 736
一、前台传递字符串变量,后台返回字符串变量(非json格式)Javascript代码:这里,为了解决Ajax数据传递出现的汉字乱码,在字符串传递之前,使用javascript函数escape()对汉字字符串进行了编码,并且对返回的字符串..
matecmf 2019-08 720
jquery ajax方法:jQuery.ajax({type:"POST",url:"/v_ajax.php",data:"action=getUmsg&u="+winduid,success:function(r_msg){varflag=jQuery(r_msg).find("flag").text();});php端返回:header('Content-Type:text..
matecmf 2019-08 890
合并数组array_merge()函数将数组合并到一起,返回一个联合的数组。所得到的数组以第一个输入数组参数开始,按后面数组参数出现的顺序依次迫加。其形式为:arrayarray_merge(arrayarray1array2…,arrayN)将一个或多..
matecmf 2019-08 824
$preg='/<a.*?href="(.*?)".*?>/is';preg_match_all($preg,$str,$array2);for($i=0;$i<count($array2[1]);$i++)//逐个输出超链接地址{echo$array2[1][$i]."<br/>";}..
matecmf 2019-08 809
函数有一个参数时,以往这样定义(参数为p1):function mfun(p1){ … }当需要为p1设定一个默认值时function mfun(p1){if(p1===undefined) p1=5; //默认值设为5…}当函数需要2个参数时,以前习惯这样写function mfun(p1..
matecmf 2019-08 787