我有一個表格,它通過一個數字數組,如(56,78,98)
。我已經將該數組存儲在一個名爲$ array的變量中。從一個表格很長時間的商店發佈變量
例如:
if(isset($_POST['submit']))
{
$checkbox_values=$_POST['checkbox_values];
$array= implode(',',$checkbox_values);
}
$_POST['checkbox_values]
是從一種形式的複選框的值。
我需要在if(isset($_POST['submit']))
條件後檢索$ array的值。我正在使用zend框架工作。如果條件後如何使用$ array?或者我如何在zend中使用session或cookie?
謝謝!
你有一個失蹤'。 ($ this - > _ request-> isPost())如果($ form-> isValid($ this - > _ request-> getPost()){$ data = $ form-> getValues())在Zend中使用 – Corbin
。 .. –