if condition
Posted: Sun Jan 18, 2004 2:41 pm
Hi,
still struggling with if condiitons.
I'm trying to do the following:
if $HTTP_SESSION_VARS['MM_UserAuthorization']='admin'
then display link: <a href="MasterAccount.php">Account</a>
Basically, after the user has logged in, if his user authentification is admin, then display the link "Account" on the page.
Could you show me an example of code for doing that?
Thanks,
vinny
still struggling with if condiitons.
I'm trying to do the following:
if $HTTP_SESSION_VARS['MM_UserAuthorization']='admin'
then display link: <a href="MasterAccount.php">Account</a>
Basically, after the user has logged in, if his user authentification is admin, then display the link "Account" on the page.
Could you show me an example of code for doing that?
Thanks,
vinny