高分提问:为什么zzz.html中的hidden提交不到form123.php中(PHP设置没问题(其他的都行))??? print_r($abc);是什么函数,我没有见过,它可以输出数组吗? 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 为什么zzz.html中的hidden提交不到form123.php中(PHP设置没问题(其他的都行))???如果代码不行请提出解决方法,谢了先.文件:zzz.html<HTML><HEAD><TITLE></TITLE></HEAD><BODY><form name=form1 method=post action='form123.php'><script>var abc = new Array();document.write("<input type='hidden' name=abc[] value='aa'>");document.write("<input type='hidden' name=abc[] value='bb'>");document.write("<input type='hidden' name=abc[] value='cc'>");</script><input type=submit value=提交></form></BODY></HTML>文件:form123.php<?phpprint'<pre>';print_r($abc);print'</pre>';?> 为什么包含“垟”字的内容保存mysql数据库出错? 谁能帮我改下这个吗,我是新手不懂 url参数传递和获取? 新手问路 print输出文本框,文本框如何显示默认值 信用卡接口问题? 无限级的树,如:1\1.1\1.1.1,只要1.1.1本身或其任何一个父节点有权限,1.1.1就表示允许,判断1.1.1是否有权限,sql该如何写? PHP默认的SESSION保持时间是多少? about php 显示不了gb2313码???? PHP求数组长度的函数是什么? 我刚做的电子商务网,www.qwhy.com,大家看一下,不过,我现在有一个未解决的问题,
如果代码不行请提出解决方法,谢了先.
文件:zzz.html
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY>
<form name=form1 method=post action='form123.php'>
<script>
var abc = new Array();
document.write("<input type='hidden' name=abc[] value='aa'>");
document.write("<input type='hidden' name=abc[] value='bb'>");
document.write("<input type='hidden' name=abc[] value='cc'>");
</script>
<input type=submit value=提交>
</form>
</BODY>
</HTML>文件:form123.php
<?php
print'<pre>';
print_r($abc);
print'</pre>';
?>