I have some custom pages that I am trying to have a specific message show based on membership and the code that I have tried to piece together is not working. Can anyone help out? PHP: <?php session_start(); ?> <?php if ($_SESSION['_amember_product_ids'] ==1) { print "<a href='LINK TO MOVIE'>Watch Movie IMAGE</a>"; } elseif ($_SESSION['_amember_product_ids'] ==2){ print "<a href='/member/member.php'>Movie for VIP Members Notice</a>"; } else { print "<a href='/vsm/Sign_In.html'>Sign In</a>"; }?>
Code: <?php session_start(); ?> <?php if ( count($_SESSION['_amember_product_ids']) ==1) { print "<a href='LINK TO MOVIE'>Watch Movie IMAGE</a>"; } elseif ( count($_SESSION['_amember_product_ids']) ==2){ print "<a href='/member/member.php'>Movie for VIP Members Notice</a>"; } else { print "<a href='/vsm/Sign_In.html'>Sign In</a>"; }?>