Hello.
I seem to remember using variables for $_POST array keys, but I'm not able to get it to work now.
For example: if I posted checkboxes with the names id_1, id_2, id_3, etc. and value when checked "Y" shouldn't I be able to get it back like this?
foreach($_POST as $k => $v)
{
$x=explode("_", $k);
if($x[0]=="id"){$newvalue=$_POST['id_".$x[1]."']} //the problem is $_POST['id_".$x[1]."']
echo"$k is $newvalue <br />";
}
Is something like this possible?