- 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);