Code: Select all
<input type="hidden" name="filter_edit" value="' . $filter_edit . '" />
Code: Select all
if($_POST["filter_edit"] != NULL) $filter_edit = $_POST["filter_edit"];
Code: Select all
<input type="hidden" name="filter_edit" value="' . $filter_edit . '" />
Code: Select all
if($_POST["filter_edit"] != NULL) $filter_edit = $_POST["filter_edit"];
Code: Select all
<?php
foreach($filter_edit as $value){ ?>
<input type="hidden" name="filter_edit[]" value="' . $value . '" />
<?php
}
?>
Code: Select all
if(array_key_exists("filter_edit", $_POST)){
$filter_edit = $_POST["filter_edit"];
// .. may want to make sure it's an array
}