Hopefully simple



Hi folks,

What am I missing here?

foreach ($_POST as $key=>$value) {
$key = secure_access($value);
}

I want each of my posted values to be assigned to a variable of the key
name. I.e.

input name = "test"
input value = "text-here"

Which I want to result in
$test = secure_access($value (i.e. text-here));

$test = "text-here";

Where have I gone wrong?

Thanks

A

.