asma
Member
i'm trying to work this out.. if the user choose to hide his online status from guests
query from database for online users
foreach ( ) {
if ($visible ='0')
{
echo "<xen:if is='{$visitor.user_id}'> display content </xen:if>";
}
else
{
echo "display content";
}
}
i get this error
Parse error: syntax error, unexpected '.', expecting '}'
query from database for online users
foreach ( ) {
if ($visible ='0')
{
echo "<xen:if is='{$visitor.user_id}'> display content </xen:if>";
}
else
{
echo "display content";
}
}
i get this error
Parse error: syntax error, unexpected '.', expecting '}'