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
https://forums.phpfreaks.com/topic/26154-checkbox-display/#findComment-119586
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
https://forums.phpfreaks.com/topic/26154-checkbox-display/#findComment-119777
Share on other sites

Archived

This topic is now archived and is closed to further replies.

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