Home  >  Article  >  Backend Development  >  php 提交表单技能

php 提交表单技能

WBOY
WBOYOriginal
2016-06-13 11:43:22737browse

php 提交表单技巧







php 服务端代码

$arrstr=array();
foreach($_POST['inquiry'] as $key=>$value){
     //mysql
     arrstr[key] = $value;
}

$s = '';
function(div){
    s+='keywords[]='+$(div).val()+'&';}
);

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn