Jump to content

Checkbox display


Chikenty

Recommended Posts

Do you have a question?

Have you even started, what code do you have so far, what are you having a problem with.

You haven't given any details about the environments, such as if you are incorporating this into an existing CMS site or wether you are using a database.

That being said, I will assume you will be using a database. So, on the profile page save the checbox values as a true/false for each item to the database. Then on the display page query the data and display a photo for any volumns where the value is true.
Link to comment
Share on other sites

So the checkboxes are going to be a admin kind of thing? and when the player goes to his members profile he will see
a list of images that are his medals. Sounds easy enough and I think mjdamato has it right :)

Just set the check box to true or flase with default being false. Then make the check box have a value of true when
checked. On the members profile just do a check on the medals col and display the ones marked true.

Cheers!
Stephen
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.