Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Finding out who checked a checkbox

Status
Not open for further replies.

rac55

Programmer
Jul 1, 2003
62
AU
Hi

I have 4 checkboxes, and only four users should be able to select a checkbox each. All the users are stored in a table in the database. I have flagged each user with 1 or 0 depending on whether they should be able to check a checkbox. Does anyone have any ideas how to do this?

Any help would be greatly appreciated

Thanks
Rachel
 
This is how I would do it. On page load you would check the flag to see if the logged in user can select the checkboxes or not. If they can't then unenable the checkboxes and enable them if they can.

Hope this helps.

Hope everyone is having a great day!

Thanks - Jennifer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top