Page 1 of 1
Allowing users on your website to set restrictions
Posted: Wed Dec 14, 2011 2:19 am
by jamiu
Good morning,am a newbie to php......I have a page where a user can control ...and other users can sign up to the page . I want to grant users on my website the ability to choose their restrictions like a form where they can set restrictions like.....age,sex...ie if a user set restrictions to male only...I.e allow males ....another user which as sex set as female...won't be able to sign up on the users page...something like that...any form of help would be appreciated..thank u
Re: Allowing users on your website to set restrictions
Posted: Wed Dec 14, 2011 2:30 am
by Christopher
Do these users have accounts?
Re: Allowing users on your website to set restrictions
Posted: Wed Dec 14, 2011 2:38 am
by jamiu
Yes...they have accounts....where they choose their respective ages,sex interests and other things...thank you
Re: Allowing users on your website to set restrictions
Posted: Thu Dec 15, 2011 1:33 am
by Christopher
You could just add those fields to the data table that hold the user account information. That would work if it is just a few items. Or have a separate table(s) that contain this information using the ID of the user table as the relational key.