When an account holder logs in in business. The account holder details are displayed by "Actinic:NOWSERVING". I want to put these in a styled table.
The problem is if a user doesn't login then a blank styled table with no contents is displayed.
Is there anyway of doing either of the following:
a) Determine if the current user is logged in before creating the table. ie something along the lines:
if (!NOWSERVING)
{
//do nothing
}
else
{
<table><tr><td>Actinic:NOWSERVING</td></tr></table>
}
b) Display "Guest User" if current user is not logged in!
The problem is if a user doesn't login then a blank styled table with no contents is displayed.
Is there anyway of doing either of the following:
a) Determine if the current user is logged in before creating the table. ie something along the lines:
if (!NOWSERVING)
{
//do nothing
}
else
{
<table><tr><td>Actinic:NOWSERVING</td></tr></table>
}
b) Display "Guest User" if current user is not logged in!
Comment