< div class="block pbpbg" >
< h3 class="pbpfont">BAND MEMBERS< /h3>< br/>
< div class="memspan" >{if strlen($profile_voice) > 2}<span>Voice: </span>{$profile_voice}{/if}<br />
{if strlen($profile_guitar) > 2}<span>Guitar: </span>{$profile_guitar}{/if}<br />
{if strlen($profile_bass) > 2}<span>Bass: </span>{$profile_bass}{/if}<br />
{if strlen($profile_drums) > 2}<span>Drums: </span>{$profile_drums}{/if}<br />
{if strlen($profile_othermembers) > 2}<span>Others: </span>{$profile_othermembers}{/if}<br />
< /div >
< /div >
How do I only display this block if at least one of the sections has been filled in ie Guitar: ?
I know I'd wrap it in an if statement but anyone have any idea as to what sort?
( I know html is wrong but it kept stripping here in my post )
--
~ https://punkbandpromotions.com ~
Check us out for all your Punk/Alternative Music!
Check us out on Facebook:- https://facebook.com/PunkBandPromotion
updated by @madc: 01/21/14 05:01:09AM