so i am trying to do somthing like this
Code: Select all
$_SESSION['c_name'] = "admin";
if ($_SESSION['c_name'] == 'admin')
{
redirect
}
else
{
redirect
{Code: Select all
if ($_SESSION['c_name'] == ('admin' || 'master'))
{
redirect
}
else
{
redirect
{I have tried, with and without quotes, "or" instead of ||
and just about every thing else I can think of or read
just looking for direction
Thanks coolmoon