hi,
i want to get rid of these names in array as these names r coming from table t_user and there is boolean field name intern='t' for these users
if (isset($HTTP_POST_VARS['account'])){
$accounts = array("aa", "bb", "cc", "dd", "ee", "ff", "jj");
if (in_array($HTTP_POST_VARS['account'],$accounts)) {
header("Location:index.phtml");
}
else {
header("Location:index1.phtml");
}
}
i just dont want to mention these names is it possible to redirect the page without using hardcoded names
hope this is clear for everybody
regards