How to disable a hyperlink or a textbox or a command button?

Reply

Join Date: Jan 2007
Posts: 4
Reputation: jeffry is an unknown quantity at this point 
Solved Threads: 0
jeffry jeffry is offline Offline
Newbie Poster

How to disable a hyperlink or a textbox or a command button?

 
0
  #1
Feb 12th, 2007
hi,
Could any one please tell me How to disable a hyperlink or a textbox or a command button which is in page 2 from page 1?

Suppose i have an admin page and a userpage.I have a details page which holds add,delete,view and search links or buttons or textboxes.

i want to access all these from admin page.But i want userpage to access only the search feature of details page.


how to do this..?plz explain...
Reply With Quote Quick reply to this message  
Join Date: Feb 2002
Posts: 12,054
Reputation: cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light cscgal is a glorious beacon of light 
Solved Threads: 129
Administrator
Staff Writer
cscgal's Avatar
cscgal cscgal is online now Online
The Queen of DaniWeb

Re: How to disable a hyperlink or a textbox or a command button?

 
0
  #2
Feb 12th, 2007
You would need to use cookies and/or sessions along with a login form. The user would then log in and the script would determine what their permissions are. You could then use a series of conditionals within your script wrapped around various elements you want to appear differently depending upon who is visiting the page.
Dani the Computer Science Gal
Follow my Twitter feed! twitter.com/DaniWeb
And if you're interested in Internet marketing there is twitter.com/DaniWebAds
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for PHP
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC