当前位置: 代码迷 >> PHP >> 批量交付form表单中的数据
  详细解决方案

批量交付form表单中的数据

热度:23   发布时间:2016-04-29 00:38:51.0
批量提交form表单中的数据
PHP code
<form method="post" action="test.php"><input type="hidden" name="aa" value="红薯,oschina,13762345678"/><input type="submit" value="ok" /></form>



test.php中如果根据','来分解aa的值?

------解决方案--------------------
$aa = $_POST['aa'];
$arr = explode(',', $aa);
echo '<pre>';print_r($arr);
  相关解决方案