A
Anonymous
Guest
Code:
<input type="text" name="fields[Email]" />
PHP:
$fields='';
$values='';
foreach($_POST['fields'] as $key=>$value){
$fields.=$key.",";
$values.=$value."','";
};
//...few lines later...
print "<input type='hidden' name='fields[Email]' value='$fields[Email]'>";
after processing it i want to call what's in fields
it outputs value='Array[Email]'
but when i reverse the order and ask for the var before the for each
it outputs value='123@abc.com'