Jump to content

Pls. HELP?..


vinsux

Recommended Posts

Pls. help.....

 

 

is there a method that you can set two links in an <a href>..?

 

 

If the logged in is student..

 

the HOME Button will redirect to student page

 

If the logged in is faculty...

 

the HOME Button will redirect to student page..

 

Thank                                                   

Link to comment
https://forums.phpfreaks.com/topic/265575-pls-help/
Share on other sites

No. A link is a link. When clicked, it goes to the target page that is in the link.

 

You shouldn't have separate pages anyway, because anyone can enter a page address into their browser's address bar and request any page. The code on each page must enforce who may access that page and what anyone can do or see on any page.

 

You should have one link that goes to a 'home' (index) page and the code on that single page tests what privileges the currently logged in user has and output the appropriate content/menus... on that page.

Link to comment
https://forums.phpfreaks.com/topic/265575-pls-help/#findComment-1361109
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.