Add multiple IF tags in php

Posted by Andy on Stack Overflow See other posts from Stack Overflow or by Andy
Published on 2010-12-26T11:46:30Z Indexed on 2010/12/26 11:54 UTC
Read the original article Hit count: 168

Filed under:
|

Hi , I would like to add this condition :

{if $profile.sex == 1 || $profile.sex == 4}

{/if}

To this code :

        case 'friendlist':
            if ( app_Features::isAvailable( 14 ) )
            {
                $_output = '<div class="memhome_link">';
                $_output.= '<a href="'.SK_Navigation::href( 'profile_friend_list' ).'" '.$class.'>'.$lang_section->text( 'href_my_friendlist').'</a>';
                $_output.= ' ('.app_FriendNetwork::countFriends( SK_HttpUser::profile_id() ).')';
                $_output.= '</div>';
            }
            break;

Can anybody give me any help , please ? Thanks for all the help .

© Stack Overflow or respective owner

Related posts about php

Related posts about source-code