批量交付form表单中的数据

批量提交form表单中的数据PHP codeform methodpost actiontest.phpinput typehidden nameaa

批量提交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);