This topic is locked

conditional fields

11/8/2007 6:04:38 PM
PHPRunner General questions
G
garivera author

I am trying to show certain fields in the view page based on their username, below is the code I added in the visual editor. Any help regarding where I went wrong is appreciated.
UserName is the username one types in when they login.
{if $show_UserName == ". $_SESSION['UserID']"}

<TR>

<TD width=30>test</TD>

{/if}
Gabe