• how can i hide this code from guest ?

    <a style=”text-decoration:none; color: white; text-shadow:none; background: #0692fe; float:left;” class=”g-button”
    href=”‘.$value[ditect_link].'”>download

    i use :
    <?php if ( $user_ID ) : // if logged in ?>

    <a style=”text-decoration:none; color: white; text-shadow:none; background: #0692fe; float:left;” class=”g-button”
    href=”‘.$value[ditect_link].'”>download
    <?php else : // if not logged in go to login page

    echo(“u need register”);

    endif; // end if logged in
    ?>

    but not work !!!
    can some body help me ?

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘hide content from guest’ is closed to new replies.