
May 15th, 2001, 06:10 PM
|
|
Junior Member
|
|
Join Date: Sep 2000
Posts: 12
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
The switching-from-PHP-to-JavaScript blues
Hello all
I'm a php person stuck in JavaScript Land and I need a bit of help. I've created a dhtml/javascript menu for my client's website. This website requires a valid user/pass which is achieved through Apache's user authentication in conjunction with a mysql table.
My question is this: Originally the entire page was php/mysql. Depending on who logged in, only certain menu items could be seen. i.e., if an admin logged in, he could see menu items 1,2, and 3. But if bob logged in, he could only see menu item 2. How can I achieve this in my javascript menu?
thanks
fuZZ
|