I have a web based tool called i login where users are logged in, logged in and authorized session variables
is a special page where I have a form that has several buttons, I want to disable a button based on the level of the user level. So if the 0 (user) button is authorized is disabled, otherwise it is enabled because I have only two authorization levels, 0 & amp; 1.
I am attached to everything I have done, and it looks right for me, definitely it is not!
Here is the JQuery function:
$ (function disabled () {$ ('# signBtn'). Attr ('disabled', true);}); Here is the PHP code:
if ($ _ session ['authorized'] == '0') {echo "
Comments
Post a Comment