PHP: Converting a PHP array into an HTML array
Hi.
------------
I'm writing a PHP program. I've encountered a problem; in the following code I try to pass $_POST['delete'] which is an array as the value of a hidden input to some form, but it doesn't do so.
In fact, there's something wrong with converting PHP array into HTML array.
I'm sure that $_POST['delete'] is not null and is a real array.
echo '<input type="hidden" name="delete[]" value="'.$_POST['delete'].'" />';
Please help me!
|