yeah, i know this, but i'm just trying to get this to work before i add some
security in there - passing sessions through etc to ensure they're logged in
as admin etc.
it doesn't really have to be that secure for what i want anyway, but
probably a good job you pointed that out ;)
-Original Me
hea
a better way is to include your admin pages.
if ($myrow[Admin] == "Y"){
include("admin.php");
}else{
include("user.php") ;
}
so you can also include at the top of this example a general header with
menu's etc.
gurix
"Matt Stewart" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PR
And while 'gurix' is correct, the function you're probably looking for
is 'header()', as in header("Location: admin.php");
Cheers
Pete
Php wrote:
> hea
> a better way is to include your admin pages.
>
> if ($myrow[Admin] == "Y"){
> include("admin.php");
> }else{
> include("user.php") ;
>