Hi Lynn!
I'm no expert on this and sorry if I'm trying to teach my granddaughter to suck eggs (LOL) but hope the following comments may help.
As you may know, PHP is a server-side HTML embedded scripting language whereas Javascript is a client-side scripting language.
I'm not clear what you are trying to do. Where is the 'administrator page'? Do other people also have access to that page?
It appears you want different actions to occur depending on whether you log in as administrator or as manager. Are there different log in user names? If so you could use a statement such as IF login=administrator the load button x ELSE load button y
I hope you might get a better answer than this but, if not, try the php page - see source
|