Chikenty Posted November 4, 2006 Share Posted November 4, 2006 K i am doing a stat thing for bf2:MC and i want to have a bunch of check boxes in the edit profile...But in the member profile view i want codes that if those certain medals r checked then it will display the medals picture Quote Link to comment Share on other sites More sharing options...
Psycho Posted November 4, 2006 Share Posted November 4, 2006 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. Quote Link to comment Share on other sites More sharing options...
Chikenty Posted November 5, 2006 Author Share Posted November 5, 2006 all i need to do is the checkboxes and the display..yes im using a database...also i wonderd if i needed to make seperate column for each 'medal' or they could be in 1 column 'medals' Quote Link to comment Share on other sites More sharing options...
Kelset Posted November 5, 2006 Share Posted November 5, 2006 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 whenchecked. On the members profile just do a check on the medals col and display the ones marked true.Cheers!Stephen Quote Link to comment Share on other sites More sharing options...
Chikenty Posted November 5, 2006 Author Share Posted November 5, 2006 yea i understand that but i dont kno how to code...was wonderin if u could lead me to any tuts or maybe gimme a lil sumthing thanks....thanks for ur replys u 2and another thing.. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.