Hi I have a problem. I have 8 different headers for 8 different portions of my website. My site is an extreme sports website. Check it out here. There are 8 sports so each header is associated with the sport. I am using a conditional tag for the category id. Here is my code:
<? if($category_id == 1) : ?><td width=”858″ colspan=”10″
style=”background: url(<?=$this->image_url?>/apsurfing_header.jpg) no-repeat top left;
padding-right: 35px; font-weight: bold; font-size: .75em;”
valign=”middle” align=”right”><? endif; ?>
The problem is this: I need to know how to get the peoples profiles to associate with their sport. For example, if they are a surfer, the header image above their profile will say “AP Surfing”.
Can I use a conditional tag for the athlete or do I need to create an array? If I need to do an array, can someone show me how to create it?
Thanks so much!